Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (20 sloc) 459 Bytes
server {
listen 80;
rewrite ^ https://$host$request_uri? permanent;
}
server {
listen 443;
ssl on;
ssl_certificate /etc/nginx/panda.crt;
ssl_certificate_key /etc/nginx/panda.key;
client_max_body_size 0;
location /site_media/ {
alias /var/lib/panda/media/;
expires 1h;
access_log off;
}
location / {
uwsgi_pass unix://var/run/uwsgi/uwsgi.sock;
include uwsgi_params;
}
}
Something went wrong with that request. Please try again.