diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2020-08-17 17:40:21 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2020-08-17 17:40:21 +0200 |
commit | eb6deee032a5fb8c63046a46fe37fdd34e102e59 (patch) | |
tree | 85807afa2ce0896e59f67d29ab7ef5d9d4346c30 /custom/ymir-nginx.nix | |
parent | ff6d6d3b3ede0001cf4c3d8259703a41749166be (diff) | |
download | nixos-eb6deee032a5fb8c63046a46fe37fdd34e102e59.tar nixos-eb6deee032a5fb8c63046a46fe37fdd34e102e59.tar.gz nixos-eb6deee032a5fb8c63046a46fe37fdd34e102e59.tar.bz2 nixos-eb6deee032a5fb8c63046a46fe37fdd34e102e59.tar.xz nixos-eb6deee032a5fb8c63046a46fe37fdd34e102e59.zip |
ymir: start nginx without odin
Diffstat (limited to 'custom/ymir-nginx.nix')
-rw-r--r-- | custom/ymir-nginx.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index a001d703..dd30fcfd 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix | |||
@@ -254,7 +254,8 @@ in { | |||
254 | auth_basic "Reverse proxy to odin"; | 254 | auth_basic "Reverse proxy to odin"; |
255 | auth_basic_user_file /srv/www/odin/htpasswd; | 255 | auth_basic_user_file /srv/www/odin/htpasswd; |
256 | 256 | ||
257 | proxy_pass http://odin.asgard.yggdrasil/; | 257 | set $upstream http://odin.asgard.yggdrasil/ |
258 | proxy_pass $upstream; | ||
258 | } | 259 | } |
259 | } | 260 | } |
260 | 261 | ||