diff options
author | makefu <github@syntax-fehler.de> | 2019-10-14 09:25:42 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-10-14 09:25:42 +0200 |
commit | c288a54f76a6c556fbdc50c0b5d7793edb2c7a34 (patch) | |
tree | 4d649db7fb911475f17a9c474b6b24babdbed0bb /krebs/3modules/bepasty-server.nix | |
parent | 0459d44921fab70ad876ffe40d61283da2e6be06 (diff) | |
parent | c8e29c89bc2d5fa254aeb0a98207c4fa47b5aa3c (diff) |
Merge remote-tracking branch 'lass/19.09' into 19.09
Diffstat (limited to 'krebs/3modules/bepasty-server.nix')
-rw-r--r-- | krebs/3modules/bepasty-server.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/bepasty-server.nix b/krebs/3modules/bepasty-server.nix index 94a509520..4892a8723 100644 --- a/krebs/3modules/bepasty-server.nix +++ b/krebs/3modules/bepasty-server.nix @@ -164,7 +164,7 @@ let client_max_body_size 32M; ''; locations = { - "/".extraConfig = "proxy_set_header Host $http_host;"; + "/".extraConfig = "proxy_set_header Host $host;"; "/".proxyPass = "http://unix:${server.workDir}/gunicorn-${name}.sock"; "/static/".extraConfig = '' alias ${bepasty}/lib/${python.libPrefix}/site-packages/bepasty/static/; |