Skip to content

Commit

Permalink
Update proxy.conf Add X-Forwared-Proto (#2809)
Browse files Browse the repository at this point in the history
Fixes #2804
  • Loading branch information
spboyer authored Feb 21, 2017
1 parent cad2bbb commit 1c3ecfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aspnetcore/publishing/linuxproduction/proxy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ proxy_redirect off;
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;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
Expand Down

0 comments on commit 1c3ecfd

Please sign in to comment.