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

Update nginx.conf

This commit is contained in:
frju365 2017-01-28 23:27:07 +01:00 committed by GitHub
parent b9a1a2540c
commit dfe31eaca0

View file

@ -8,6 +8,7 @@ location YNH_WWW_PATH {
try_files $uri $uri/ /index.php?$args;
location ~ ^/(.+/|)\.(?!well-known\/) {
deny all;
}
# Execute and serve PHP files
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;