Skip to content

Instantly share code, notes, and snippets.

@frewsxcv
Created June 9, 2011 18:58
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 frewsxcv/1017443 to your computer and use it in GitHub Desktop.
Save frewsxcv/1017443 to your computer and use it in GitHub Desktop.
nginx config
server {
server_name cfslo.no-ip.org
location / {
include /etc/nginx/proxy.conf;
proxy_pass http://127.0.0.1:8888;
}
location /incident {
rewrite ^/incident(.+)$ $1 break;
proxy_pass http://127.0.0.1:9999;
proxy_reidrect http://127.0.0.1:9999/ http://cfslo.no-ip.org/incident/;
}
location /incident/static {
alias /home/corey/cfslo-incident-viewer/static;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment