mirror of
https://github.com/YunoHost-Apps/framaforms_ynh.git
synced 2024-09-03 18:36:12 +02:00
Update nginx.conf
This commit is contained in:
parent
7d8951201e
commit
df06d0a3fc
1 changed files with 2 additions and 2 deletions
|
@ -3,14 +3,14 @@ location __PATH__/ {
|
||||||
|
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/app/ ;
|
alias __FINALPATH__/app/ ;
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
if (!-e $request_filename)
|
if (!-e $request_filename)
|
||||||
{
|
{
|
||||||
rewrite ^__PATH__/(.+)$ __PATH__/index.php?q=$1 last;
|
rewrite ^__PATH__/(.+)$ __PATH__/index.php?q=$1 last;
|
||||||
}
|
}
|
||||||
|
|
||||||
index index.php;
|
|
||||||
|
|
||||||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
||||||
#client_max_body_size 50M;
|
#client_max_body_size 50M;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue