Add some nginx headers

Thanks @robsalasco! I added this headers because saw your fork and thought that it will be pretty good to have these headers by default.
This commit is contained in:
unimariJo Citorijawa 2018-12-23 00:10:02 +04:00 committed by GitHub
parent c6959851b5
commit 026ec403df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -22,5 +22,8 @@ server {
location / { location / {
proxy_pass http://example.org; proxy_pass http://example.org;
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;
} }
} }