Merge pull request #60 from maxhelias/missing-proxy-option

Add missing proxy options
This commit is contained in:
Maxime Helias 2020-05-12 15:52:50 +02:00 committed by GitHub
commit ea55aa6283
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,11 @@ server {
ssl_certificate_key /etc/nginx/ssl/server.key;
location / {
proxy_set_header Host $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_pass http://nginx;
}
}