Router fix + Logs API

This commit is contained in:
2022-06-01 11:20:24 +02:00
parent 1fb875fb2c
commit 366dbbd6cf
4 changed files with 125 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ server {
error_page 500 /index.php?error=500;
# rewrite api
rewrite ^/api(/.*)$ /index.php?api=$1;
rewrite ^/(api(/.*)?)$ /index.php?api=$1;
# deny access to .gitignore / .htaccess
location ~ /\.(?!well-known).* {