hackmd: increase max upload size

This commit is contained in:
Markus 2019-03-07 21:17:19 +01:00
parent e1e110e704
commit 97cb51efbf
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ server {
ssl_certificate_key /etc/nginx/ssl/{{ hackmd_domain }}.key;
ssl_certificate /etc/nginx/ssl/{{ hackmd_domain }}.crt;
# set max upload size
client_max_body_size 8M;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;