This commit is contained in:
zino
2024-04-01 16:52:43 +02:00
parent 0f47088789
commit 17110d3c13

View File

@@ -10,13 +10,17 @@ server {
include "snippets/ssl-optimizations.conf"; include "snippets/ssl-optimizations.conf";
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 $http_host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
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 X-Forwarded-Proto $scheme;
proxy_set_header X-Frame-Options SAMEORIGIN; proxy_set_header X-Frame-Options SAMEORIGIN;
proxy_set_header X-Content-Type-Options nosniff; proxy_set_header X-Content-Type-Options nosniff;
proxy_connect_timeout 15s;
proxy_read_timeout 30s;
proxy_send_timeout 30s;
send_timeout 30s;
} }
} }