Make sure non-existing .php paths are routed to KaraDAV, fix #49

This commit is contained in:
bohwaz 2024-03-04 21:45:59 +01:00
parent 86f7aa416a
commit 51a4e8f153

View file

@ -84,6 +84,7 @@ server {
} }
location ~* \.php$ { location ~* \.php$ {
try_files $uri /_router.php?$query_string;
fastcgi_pass unix:/run/php-fpm/www.sock; fastcgi_pass unix:/run/php-fpm/www.sock;
include fastcgi_params; include fastcgi_params;
fastcgi_index index.php; fastcgi_index index.php;