From 8768241c7d935cc5cc866a1054a688cc37356cc9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 16 Mar 2017 17:52:06 +0100 Subject: Slashes are _not_ evil --- bragi.nix | 2 +- bragi/bar/generated.nix | 4 ++-- custom/ymir-nginx.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bragi.nix b/bragi.nix index 58dd6441..4b8d5c29 100644 --- a/bragi.nix +++ b/bragi.nix @@ -382,7 +382,7 @@ in rec { } location /bar/ { - proxy_pass http://[::1]:8082; + proxy_pass http://[::1]:8082/; proxy_set_header AppRoot $scheme://$host/bar; } } diff --git a/bragi/bar/generated.nix b/bragi/bar/generated.nix index 5a016817..23b4cd69 100644 --- a/bragi/bar/generated.nix +++ b/bragi/bar/generated.nix @@ -13,8 +13,8 @@ mkDerivation { version = "0.2.0"; src = fetchgit { url = "git://git.yggdrasil.li/gkleen/pub/bar"; - sha256 = "03430jdzxsah23fslsgi0mqx1l2hw33bwx5x7kkz0mhphf86j5l7"; - rev = "089ba7d7f860022780da9d426207dc7fe3507a55"; + sha256 = "0ckl2viz1nrmqnf1igv1yd4drr6b1yip3wpijmr2fqyckij83jg9"; + rev = "adf379f414ebd6f06cfe49dc481b220c7f141ba1"; }; isLibrary = true; isExecutable = true; diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index b9d77844..33a9411a 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix @@ -160,7 +160,7 @@ in { auth_basic "Reverse proxy to bragi"; auth_basic_user_file /srv/www/bragi/htpasswd; - proxy_pass http://bragi.asgard.yggdrasil; + proxy_pass http://bragi.asgard.yggdrasil/; location /bar/ { proxy_set_header AppRoot $scheme://$host/bar; -- cgit v1.2.3