This commit is contained in:
zino
2024-04-01 17:38:52 +02:00
parent 32f4be6957
commit e557c3589c

View File

@@ -11,12 +11,12 @@ server {
location / { location / {
proxy_pass http://host.docker.internal:8123; proxy_pass http://host.docker.internal:8123;
proxy_set_header Host $http_host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_redirect http:// https://;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Frame-Options SAMEORIGIN; proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Content-Type-Options nosniff;
proxy_connect_timeout 15s; proxy_connect_timeout 15s;
proxy_read_timeout 30s; proxy_read_timeout 30s;
proxy_send_timeout 30s; proxy_send_timeout 30s;