diff --git a/conf/nginx.conf b/conf/nginx.conf index a2d5ecd..3358362 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -40,5 +40,5 @@ location @monica { rewrite carddav/(.*) __PATH__/dav?/$1 permanent; # rewrite all to index.php - rewrite ^(.*)$ __PATH__/index.php?/$1 last; + rewrite ^__PATH__/(.*)$ __PATH__/index.php?/$1 last; }