1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grist_ynh.git synced 2024-09-03 20:36:18 +02:00

Raise limit of 1Mb for doc uploads #12

This commit is contained in:
Florent 2023-12-04 21:58:47 +01:00
parent 081897130e
commit f04d67b71b

View file

@ -1,5 +1,5 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
location @api {
proxy_pass http://localhost:__PORT__;
proxy_redirect off;
@ -13,6 +13,15 @@ location __PATH__/ {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location / {
try_files /dev/null @api;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}
location ~ .*/uploads$ {
try_files /dev/null @api;
client_max_body_size 10G;
}