Router Update + Bugfix

This commit is contained in:
2022-06-01 09:47:31 +02:00
parent 658157167e
commit 1fb875fb2c
22 changed files with 589 additions and 679 deletions

View File

@@ -4,6 +4,12 @@ server {
access_log /var/log/nginx/access.log;
root /application;
# rewrite error codes
error_page 400 /index.php?error=400;
error_page 403 /index.php?error=403;
error_page 404 /index.php?error=404;
error_page 500 /index.php?error=500;
# rewrite api
rewrite ^/api(/.*)$ /index.php?api=$1;