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:
parent
b9a1a2540c
commit
dfe31eaca0
1 changed files with 1 additions and 0 deletions
|
@ -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)(/.*)$;
|
||||
|
|
Loading…
Reference in a new issue