diff options
| author | toufic ar <contact@toufy.me> | 2026-07-19 17:56:10 +0300 |
|---|---|---|
| committer | toufic ar <contact@toufy.me> | 2026-07-19 17:56:10 +0300 |
| commit | e1bdcf68a611d1caf67a2f608ae5b4decb1cfc98 (patch) | |
| tree | 753f66ed4cd8bdcfc454e51066b2c0ebba077e8d /adonis/autopush | |
| parent | da35209953c7b50f2865dbd483b42253ab1f4d2f (diff) | |
| download | servers-main.tar.gz servers-main.zip | |
Diffstat (limited to 'adonis/autopush')
| -rw-r--r-- | adonis/autopush/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adonis/autopush/default.nix b/adonis/autopush/default.nix index 17a08a6..2cd112c 100644 --- a/adonis/autopush/default.nix +++ b/adonis/autopush/default.nix @@ -56,7 +56,7 @@ in { proxyPass = "http://127.0.0.1:8080"; extraConfig = '' proxy_http_version 1.1; - proxy_set_header Host $http_host; + proxy_set_header Host $host; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -77,7 +77,7 @@ in { proxyPass = "http://127.0.0.1:${builtins.toString port}"; extraConfig = '' proxy_http_version 1.1; - proxy_set_header Host $http_host; + proxy_set_header Host $host; proxy_connect_timeout 3m; proxy_send_timeout 3m; proxy_read_timeout 3m; |
