mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-27 07:33:18 +02:00
19 lines
415 B
Django/Jinja
19 lines
415 B
Django/Jinja
server {
|
|
server_name papermerge;
|
|
listen {{ papermerge_port }};
|
|
|
|
location /static/ {
|
|
alias {{ papermerge_root_dir }}/app/static/;
|
|
}
|
|
|
|
location /media/ {
|
|
alias {{ papermerge_root_dir }}/app/media/;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:{{ papermerge_port | int + 1}};
|
|
# Don't restrict size here. You will probably put another front proxy anyway
|
|
client_max_body_size 200m;
|
|
}
|
|
}
|