Skip to content

Instantly share code, notes, and snippets.

@nshiba
Created December 4, 2014 19:09
Show Gist options
  • Save nshiba/100a05a2b5c55ccb7d2a to your computer and use it in GitHub Desktop.
Save nshiba/100a05a2b5c55ccb7d2a to your computer and use it in GitHub Desktop.
server {
server_name www.zanryu-derby.com;
access_log off;
location /static {
alias /home/naoya/Projects/Zanryu_Derby/static;
#root /static;
}
location / {
proxy_pass http://127.0.0.1:9001;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Real-IP $remote_addr;
add_header P3P 'CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV"';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment