Make sure non-existing .php paths are routed to KaraDAV, fix #49
This commit is contained in:
parent
86f7aa416a
commit
51a4e8f153
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue