Skip to content

Instantly share code, notes, and snippets.

@yagop
Created October 20, 2016 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yagop/5f1fe0fd4f0bdae97fa8b5e4c3b472b7 to your computer and use it in GitHub Desktop.
Save yagop/5f1fe0fd4f0bdae97fa8b5e4c3b472b7 to your computer and use it in GitHub Desktop.
My Lounge IRC Configuration
server {
listen 80;
root /home/yago/production/lounge/client/;
server_name irc.yago.me;
autoindex off;
try_files $uri $uri @remote;
location @remote {
proxy_pass http://127.0.0.1:9000;
proxy_http_version 1.1;
proxy_set_header Connection "upgrade";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Forwarded-For $remote_addr;
# by default nginx times out connections in one minute
proxy_read_timeout 1d;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment