Skip to content

Instantly share code, notes, and snippets.

@alculquicondor
Created October 5, 2014 02:34
Show Gist options
  • Save alculquicondor/aef9cff493925c7a4114 to your computer and use it in GitHub Desktop.
Save alculquicondor/aef9cff493925c7a4114 to your computer and use it in GitHub Desktop.
server {
listen 8080;
server_name localhost;
location / {
proxy_pass tcp://chat-main.hipchat.com:5222;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment