1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 03:54:15 +00:00
webvirtcloud/conf/nginx/webvirtcloud.conf

24 lines
637 B
Text
Raw Normal View History

2015-03-27 14:20:30 +00:00
server {
listen 80;
2015-06-27 12:56:37 +00:00
#server_name webvirtcloud.example.com;
2015-03-27 14:20:30 +00:00
#access_log /var/log/nginx/webvirtcloud-access_log;
location /static/ {
2015-06-16 05:49:30 +00:00
root /srv/webvirtcloud;
2015-03-27 14:20:30 +00:00
expires max;
}
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Forwarded-Proto $remote_addr;
proxy_connect_timeout 600;
proxy_read_timeout 600;
proxy_send_timeout 600;
client_max_body_size 1024M;
}
}