Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
415 B

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;
}
}