1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

try to make possible install on root path and change url from or to root path

This commit is contained in:
Rodolphe Robles 2020-04-07 20:00:37 +02:00
parent 05cc520dd9
commit ea6749662d

View file

@ -8,13 +8,13 @@ location __PATH__ {
}
# Example PHP configuration (remove if not used)
index index.php;
# Common parameter to increase upload size limit in conjuction with dedicated php-fpm file
#client_max_body_size 50M;
location ~ [^/]\.php(/|$) {
try_files $uri $uri/ index.php;
try_files $uri $uri/ index.php /routes.php;
index index.php /_route.php;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock;
fastcgi_index index.php;