1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpback_ynh.git synced 2024-09-03 19:56:34 +02:00

Update nginx.conf

This commit is contained in:
Éric Gaspar 2023-11-24 16:04:31 +01:00
parent d21db703b6
commit 1eb863d4d9

View file

@ -7,12 +7,12 @@ location __PATH__/ {
index index.php;
try_files $uri $uri/ index.php;
location __FINALPATH__/public {}
location __FINALPATH__/favicon.ico {}
rewrite ^(.*)$ __FINALPATH__/index.php last;
location __INSTALL_DIR__/public {}
location __INSTALL_DIR__/favicon.ico {}
rewrite ^(.*)$ __INSTALL_DIR__/index.php last;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
#client_max_body_size 50M;
client_max_body_size 50M;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;