Skip to content

Instantly share code, notes, and snippets.

@ailabs-software
Created April 10, 2012 22:46
Show Gist options
  • Save ailabs-software/2355238 to your computer and use it in GitHub Desktop.
Save ailabs-software/2355238 to your computer and use it in GitHub Desktop.
server
{
server_name *.theamericanpolitician.com;
listen 80;
location ^~ /socket.io
{
proxy_pass http://unix:/tmp/$SERVER_NAME.socket:;
proxy_set_header X-Real-IP $remote_addr;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment