fix bug with admin

This commit is contained in:
einhornimmond 2024-02-05 18:41:48 +01:00
parent 00d84d5c24
commit 7a6f1655bc
2 changed files with 2 additions and 0 deletions

View File

@ -114,6 +114,7 @@ server {
location /admin {
limit_req zone=frontend burst=30 nodelay;
limit_conn addr 40;
rewrite ^/admin/(.*)$ /$1 break;
root $PROJECT_ROOT/admin/build/;
index index.html;
try_files $uri $uri/ /index.html = 404;

View File

@ -98,6 +98,7 @@ server {
location /admin {
limit_req zone=frontend burst=30 nodelay;
limit_conn addr 40;
rewrite ^/admin/(.*)$ /$1 break;
root $PROJECT_ROOT/admin/build/;
index index.html;
try_files $uri $uri/ /index.html = 404;