fix: copied snipeit nginx from github
This commit is contained in:
parent
517077f540
commit
b2a81eb1c9
1 changed files with 3 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue