Last active
December 19, 2015 08:52
-
-
Save omkar0001/444f0b5c44bf5f6735cc to your computer and use it in GitHub Desktop.
ideivr-nginx-conf
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 { | |
server_name popioka.idelivr.info; | |
access_log off; | |
location /static_local/ { | |
alias /home/ubuntu/bookmyspot/v2/static_local/; | |
} | |
location /static/ { | |
alias /home/ubuntu/bookmyspot/v2/static/; | |
} | |
location /media/ { | |
alias /home/ubuntu/bookmyspot/v2/media/; | |
} | |
location /basic_status { | |
stub_status; | |
} | |
location / { | |
proxy_set_header Host $http_host; | |
proxy_pass http://127.0.0.1:8000; | |
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