1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

add max body size

This commit is contained in:
Éric Gaspar 2023-01-15 17:28:28 +01:00
parent a912632f1d
commit 45c0c4fa55
2 changed files with 6 additions and 0 deletions

View file

@ -4,6 +4,9 @@ location __PATH__/ {
# Path to source
alias __FINALPATH__/www/;
# Common parameter to increase upload size limit in conjunction with dedicated PHP-FPM file
#client_max_body_size 1G;
# Default indexes and catch-all
index index.html index.php;
try_files $uri $uri/ __PATH__/index.php?$args;

View file

@ -4,6 +4,9 @@ location __PATH__/ {
# Path to source
alias __FINALPATH__/www/;
# Common parameter to increase upload size limit in conjunction with dedicated PHP-FPM file
#client_max_body_size 1G;
# Default indexes and catch-all
index index.html index.php;
try_files $uri $uri/ __PATH__/index.php?$args;