File: nginx_bepasty.conf.example

package info (click to toggle)
bepasty 1.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 844 kB
  • sloc: python: 2,978; javascript: 1,468; makefile: 172; sh: 30
file content (19 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
server {
    listen 80;
    listen [::]:80;

    access_log /var/log/nginx/paste.example.org-access.log;
    error_log /var/log/nginx/paste.example.org-error.log;

    client_max_body_size 32M;

    location / {
        charset utf-8;
        uwsgi_pass unix:///run/uwsgi/app/bepasty/socket;
        include uwsgi_params;
    }

    location /static/ {
        alias /usr/lib/python3/dist-packages/bepasty/static/;
    }
}