Created
October 20, 2016 10:01
-
-
Save yagop/5f1fe0fd4f0bdae97fa8b5e4c3b472b7 to your computer and use it in GitHub Desktop.
My Lounge IRC Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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