diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-14 02:13:27 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-14 02:13:27 +0100 |
| commit | f655f88cbbc334ad56a79c2287f18defa5aa98ba (patch) | |
| tree | 31fc52f000e9d49b5c11496b63a039a0b9deeaee | |
| parent | ddf14c42cb08b2086565ffe87089d6338451f560 (diff) | |
| download | nixos-f655f88cbbc334ad56a79c2287f18defa5aa98ba.tar nixos-f655f88cbbc334ad56a79c2287f18defa5aa98ba.tar.gz nixos-f655f88cbbc334ad56a79c2287f18defa5aa98ba.tar.bz2 nixos-f655f88cbbc334ad56a79c2287f18defa5aa98ba.tar.xz nixos-f655f88cbbc334ad56a79c2287f18defa5aa98ba.zip | |
Force bar to IPv6
| -rw-r--r-- | bragi.nix | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -312,6 +312,7 @@ in rec { | |||
| 312 | in { | 312 | in { |
| 313 | environment = { | 313 | environment = { |
| 314 | PORT = "8082"; | 314 | PORT = "8082"; |
| 315 | HOST = "::1"; | ||
| 315 | }; | 316 | }; |
| 316 | requires = [ "postgresql.service" ]; | 317 | requires = [ "postgresql.service" ]; |
| 317 | wantedBy = [ "default.target" ]; | 318 | wantedBy = [ "default.target" ]; |
| @@ -382,7 +383,7 @@ in rec { | |||
| 382 | 383 | ||
| 383 | location /bar/ { | 384 | location /bar/ { |
| 384 | proxy_set_header AppRoot "http://$host/bar"; | 385 | proxy_set_header AppRoot "http://$host/bar"; |
| 385 | proxy_pass http://localhost:8082/; | 386 | proxy_pass http://[::1]:8082/; |
| 386 | } | 387 | } |
| 387 | } | 388 | } |
| 388 | ''; | 389 | ''; |
