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:
parent
081897130e
commit
f04d67b71b
1 changed files with 10 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||||
location __PATH__/ {
|
location @api {
|
||||||
|
|
||||||
proxy_pass http://localhost:__PORT__;
|
proxy_pass http://localhost:__PORT__;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
|
@ -13,6 +13,15 @@ location __PATH__/ {
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files /dev/null @api;
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ .*/uploads$ {
|
||||||
|
try_files /dev/null @api;
|
||||||
|
client_max_body_size 10G;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue