1
0
Fork 0
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:
ericgaspar 2022-04-17 23:24:43 +02:00
parent 7d8951201e
commit df06d0a3fc
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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;