|
|
|
|
@ -21,10 +21,6 @@ http { |
|
|
|
|
server unix:/tmp/gunicorn.sock fail_timeout=0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
upstream flower { |
|
|
|
|
server unix:/tmp/flower.sock fail_timeout=0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
server { |
|
|
|
|
listen 80; |
|
|
|
|
server_name _; |
|
|
|
|
@ -43,18 +39,6 @@ http { |
|
|
|
|
expires 30d; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
location /flower { |
|
|
|
|
proxy_pass http://flower; |
|
|
|
|
proxy_http_version 1.1; |
|
|
|
|
proxy_redirect off; |
|
|
|
|
proxy_set_header Upgrade $http_upgrade; |
|
|
|
|
proxy_set_header Connection "upgrade"; |
|
|
|
|
proxy_set_header Host $http_host; |
|
|
|
|
proxy_connect_timeout 86400; |
|
|
|
|
proxy_read_timeout 86400; |
|
|
|
|
proxy_send_timeout 86400; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
proxy_set_header Host $http_host; |
|
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
|
|