diff options
| author | Grigory Shipunov | 2023-01-24 22:31:38 +0100 |
|---|---|---|
| committer | Grigory Shipunov | 2023-01-24 22:33:04 +0100 |
| commit | 1ffc6272d47a52480d2138348a0a9c2ad7213699 (patch) | |
| tree | f885f3d011a478db688d21baa6f4e3988a482506 /hosts | |
| parent | 3dbfe64f53942d09c33bdfe9cd59d77aaf8cea2b (diff) | |
Remove recommended headers
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/cirrus/nextcloud-proxy.nix | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/hosts/cirrus/nextcloud-proxy.nix b/hosts/cirrus/nextcloud-proxy.nix index 11fc5ed..60aee49 100644 --- a/hosts/cirrus/nextcloud-proxy.nix +++ b/hosts/cirrus/nextcloud-proxy.nix @@ -45,15 +45,6 @@ locations = { "/" = { proxyPass = "http://10.34.45.101:4533"; - extraConfig = '' - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header X-Forwarded-Protocol $scheme; - proxy_set_header X-Forwarded-Host $http_host; - proxy_buffering off; - ''; }; }; }; |
