Created
May 3, 2018 12:13
-
-
Save marlinspike/7afdc44ed60a5548a52e8dfce47ae765 to your computer and use it in GitHub Desktop.
Minimal nginx.conf file for a Proxy Server
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 localhost; | |
server_tokens off; | |
add_header x-proxy-version 0.1; | |
location / { | |
proxy_pass http://10.0.1.4:80/; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment