server { listen 80; server_name www.heatmap.rasmus-holm.com heatmap.rasmus-holm.com; gzip on; gzip_disable "msie6"; location / { proxy_pass http://127.0.0.1:5000/; proxy_redirect off; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; } }