summaryrefslogtreecommitdiff
path: root/lib/nginx/patchwork.conf
blob: 893589bdcca06f51e1276003b077d8de62f4dfc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
server {
    listen 80 default_server;
    listen [::]:80 default_server;

    location = favicon.ico { access_log off; log_not_found off; }

    location /static {
        alias /var/www/patchwork;
        expires 3h;
    }

    location / {
        include uwsgi_params;
        uwsgi_pass unix:/run/uwsgi/patchwork.sock;
    }
}