Skip to content

Instantly share code, notes, and snippets.

@ahmed-abdelazim
Created November 23, 2018 19:15
Show Gist options
  • Select an option

  • Save ahmed-abdelazim/909df8c3987e74683f89ef1f28441083 to your computer and use it in GitHub Desktop.

Select an option

Save ahmed-abdelazim/909df8c3987e74683f89ef1f28441083 to your computer and use it in GitHub Desktop.
nginx reverse proxy simple starting configuration
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