Update nextcloud-for-mailcow-dockerized.conf

fixes
This commit is contained in:
Chriz
2025-10-02 12:55:23 +02:00
committed by GitHub
parent 5b263acbb2
commit 0460e3e5a1

View File

@@ -19,14 +19,14 @@ server {
}
location / {
proxy_pass https://nc.sysops.de;
proxy_pass https://cloud.domain.tld;
# Hostname & Forwarded-Header sauber durchreichen
proxy_set_header Host 192.168.178.253; # explizit der Upstream-Name
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 https; # TLS endet hier
proxy_set_header X-Forwarded-Host $host; # also cloud.sysops.de
proxy_set_header X-Forwarded-Host $host; # also cloud.domain.tld
proxy_set_header X-Forwarded-Port 443;
proxy_set_header Forwarded "for=$remote_addr;proto=https;host=$host";
proxy_set_header Referrer-Policy "no-referrer";