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

try change nginx.conf

This commit is contained in:
Robles Rodolphe 2020-04-08 16:16:05 +02:00
parent bd56a81f01
commit 7b5abb2e1a
2 changed files with 4 additions and 3 deletions

View file

@ -8,8 +8,8 @@ if ($scheme = http) {
}
# Example PHP configuration (remove if not used)
index index.php;
try_files $uri $uri/ index.php;
index index.php /_route.php;
try_files $uri $uri/ index.php /_route.php;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;

View file

@ -81,6 +81,7 @@ then
ynh_store_file_checksum "/etc/nginx/conf.d/$new_domain.d/$app.conf"
fi
#=================================================
# GENERIC FINALISATION
#=================================================
# RELOAD NGINX