Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Your main server block, you can have more than one, but just one per file is reccomended.
server {
# Listen for incoming connections on the specified port.
listen 80;
# When listening to connections, check the URL.
server_name example.com;
# Pass any connections to "http://example.com/" to "http://your.server"
location / {
proxy_pass http://your.server/;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.