Created
April 15, 2015 07:37
-
-
Save ronsuez/c3faa544e2f047bbf366 to your computer and use it in GitHub Desktop.
Nginx Reverse Proxy Template
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
server { | |
listen 80; | |
server_name server_name; | |
location / { | |
proxy_set_header Host $host; | |
proxy_set_header X-REAL-IP $remote_addr; | |
proxy_pass http://host:port/; | |
proxy_buffering off; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment