debian/examples/nginx_bepasty.conf.example
raw| 1 | server { |
| 2 | listen 80; |
| 3 | listen [::]:80; |
| 4 | |
| 5 | access_log /var/log/nginx/paste.example.org-access.log; |
| 6 | error_log /var/log/nginx/paste.example.org-error.log; |
| 7 | |
| 8 | client_max_body_size 32M; |
| 9 | |
| 10 | location / { |
| 11 | charset utf-8; |
| 12 | uwsgi_pass unix:///run/uwsgi/app/bepasty/socket; |
| 13 | include uwsgi_params; |
| 14 | } |
| 15 | |
| 16 | location /static/ { |
| 17 | alias /usr/lib/python3/dist-packages/bepasty/static/; |
| 18 | } |
| 19 | } |