freebsd-ports/deskutils/py-paperless/files/nginx.conf.in
Michael Gmelin e69365603b Add deskutils/py-paperless, a Django application that allows to index and
archive scanned paper documents.

PR:		236680
2019-03-30 12:27:52 +00:00

18 lines
404 B
Nginx Configuration File

server {
listen 80;
server_name localhost;
location /static/ {
alias %%WWWDIR%%/static/;
}
location / {
uwsgi_pass unix:/tmp/uwsgi-paperless.sock;
include uwsgi_params;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root %%PREFIX%%/www/nginx-dist;
}
}