Skip to content
Snippets Groups Projects
Commit 8b59acf7 authored by Henry Fröcklin's avatar Henry Fröcklin
Browse files

Testing nginx config.

parent fff349c8
No related branches found
No related tags found
No related merge requests found
......@@ -16,13 +16,19 @@ server {
location / {
#include proxy_params;
proxy_pass http://unix:/run/gunicorn.sock;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://unix:/run/gunicorn.sock ;
proxy_set_header Host $http_host ;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
proxy_read_timeout 90 ;
proxy_http_version 1.1 ;
proxy_set_header Upgrade $http_upgrade ;
proxy_set_header Connection "upgrade" ;
proxy_buffers 8 32k ;
proxy_buffer_size 64k ;
}
location /static {
autoindex on;
alias /var/www/vlc/static/;
alias /var/www/vlc/static/ ;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment