Skip to content

Instantly share code, notes, and snippets.

@marlinspike
Created May 3, 2018 12:13
Show Gist options
  • Save marlinspike/7afdc44ed60a5548a52e8dfce47ae765 to your computer and use it in GitHub Desktop.
Save marlinspike/7afdc44ed60a5548a52e8dfce47ae765 to your computer and use it in GitHub Desktop.
Minimal nginx.conf file for a Proxy Server
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