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:
parent
a912632f1d
commit
45c0c4fa55
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue