fix: copied snipeit nginx from github

This commit is contained in:
Strix 2024-01-01 19:20:01 +01:00
parent 517077f540
commit b2a81eb1c9
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7

View file

@ -6,14 +6,11 @@ server {
# default html page
location / {
proxy_pass http://snipeit;
proxy_read_timeout 300;
proxy_connect_timeout 300;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host;
proxy_set_header Host $http_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 https;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://snipeit;
}
}