Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (31 sloc) 912 Bytes
server {
listen 80;
server_name static.kepler.local;
root /var/www/;
server {
listen 80;
location / {
proxy_next_upstream error timeout;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forward-Proto http;
proxy_set_header X-Nginx-Proxy true;
proxy_redirect off;
location /static/ {
alias /var/www/;
#uncomment for enable HTTPS
#listen 443 ssl;
#ssl_certificate ssl/;
#ssl_certificate_key ssl/;
#ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
#ssl_ciphers HIGH:!aNULL:!MD5;
You can’t perform that action at this time.