Skip to content

Instantly share code, notes, and snippets.

@argami
Created September 11, 2012 12:18
Show Gist options
  • Save argami/3698000 to your computer and use it in GitHub Desktop.
Save argami/3698000 to your computer and use it in GitHub Desktop.
Way to patch error on ngnix and streams
upstream www.XXXXXXX.es {
server XXX.XXX.XXX.XXX:3000;
}
server {
listen 80;
server_name www.XXXX.es XXXXX.es;
location / {
proxy_pass http://www.XXXXXXX.es; #this is the upstream option
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment