Created
July 21, 2017 13:44
-
-
Save kaajavi/32931b2d55bad95abafaea29b123fc78 to your computer and use it in GitHub Desktop.
Nginx config proxypass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client_max_body_size 500M; | |
location / { | |
proxy_set_header Host $host; # Another port: :8080; | |
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://localhost:8002/; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment