fix: trust proxy why cidr.

This commit is contained in:
Strix 2024-01-01 19:48:49 +01:00
parent 6a5ba755a0
commit d5102a292c
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ server {
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 $scheme;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://snipeit;
}
}