You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kompass/docker/production/nginx/kompass.nginx.conf

31 lines
506 B
Plaintext

upstream uwsgi {
server unix:/tmp/uwsgi/kompass.sock;
}
server {
listen 80;
server_name 127.0.0.1;
charset utf-8;
error_page 502 /downtime/502.html;
location /static {
alias /var/www/jdav_web/static;
}
location /protected {
internal;
alias /var/www/jdav_web/media;
}
location /downtime {
alias /var/www/jdav_web/static/downtime;
}
location / {
uwsgi_pass uwsgi;
include /etc/nginx/uwsgi_params;
}
}