Skip to content

Instantly share code, notes, and snippets.

@neaf
neaf / gist:2415683
Created April 18, 2012 18:39
Port redirect with nginx
# Nginx config for redirecting traffic from port 80 to 8800
upstream app {
server localhost:8800 fail_timeout=60;
}
server {
listen 80;
client_max_body_size 100m;
server_name app.example.com;