nextcloud: fix reverse proxy

This commit is contained in:
2024-01-03 03:05:47 +01:00
parent 94e079c845
commit acb9dfe9ee
2 changed files with 4 additions and 0 deletions

View File

@@ -55,6 +55,9 @@
forceSSL = true;
extraConfig = ''
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
server_tokens off;
gzip on;
gzip_vary on;