Created
December 19, 2015 21:58
-
-
Save mwinckler/6e8effb73dda755e2b85 to your computer and use it in GitHub Desktop.
Nginx: proxy all requests to new server
This file contains hidden or 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
location / { | |
proxy_pass http://<ip-address-of-new-server>; | |
proxy_set_header Host $http_host; | |
proxy_redirect off; | |
proxy_buffering off; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment