summaryrefslogtreecommitdiff
path: root/hosts/cirrus
diff options
context:
space:
mode:
authorGrigory Shipunov2023-01-24 22:31:38 +0100
committerGrigory Shipunov2023-01-24 22:33:04 +0100
commit1ffc6272d47a52480d2138348a0a9c2ad7213699 (patch)
treef885f3d011a478db688d21baa6f4e3988a482506 /hosts/cirrus
parent3dbfe64f53942d09c33bdfe9cd59d77aaf8cea2b (diff)
Remove recommended headers
Diffstat (limited to 'hosts/cirrus')
-rw-r--r--hosts/cirrus/nextcloud-proxy.nix9
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;
- '';
};
};
};