-
Notifications
You must be signed in to change notification settings - Fork 10
nginx proxy
Graeme Yeates edited this page Jul 31, 2015
·
4 revisions
If you're looking to proxy the app with nginx (for instance mysite.com/irc) below is tested configuration where iris/qwebirc are running on port 9090.
server {
location ^~ /irc/ {
proxy_redirect http://localhost:9090/ /;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://127.0.0.1:9090/;
proxy_set_header X-Real-IP $remote_addr;
proxy_read_timeout 60s;
}
}