Created
November 23, 2018 19:15
-
-
Save ahmed-abdelazim/909df8c3987e74683f89ef1f28441083 to your computer and use it in GitHub Desktop.
nginx reverse proxy simple starting configuration
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
| server { | |
| listen 80 default_server; | |
| server_name *.*; | |
| client_body_timeout 5s; | |
| client_header_timeout 5s; | |
| location / { | |
| proxy_set_header Host $host; | |
| proxy_pass http://00.00.00.00/; #replace with upstream ip | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment