|
|
@@ -16,23 +16,14 @@ server {
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
}
|
|
|
|
|
|
- location /admin/api/ {
|
|
|
- proxy_pass http://maxkb-web:8080/api/;
|
|
|
+ location /admin {
|
|
|
+ proxy_pass http://maxkb-web:8080;
|
|
|
proxy_set_header Host $host;
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
}
|
|
|
|
|
|
- location /admin/tool/ {
|
|
|
- rewrite ^/admin(/.*)$ $1 break;
|
|
|
- try_files $uri $uri/ /index.html;
|
|
|
- }
|
|
|
-
|
|
|
- location /tool/ {
|
|
|
- try_files $uri $uri/ /index.html;
|
|
|
- }
|
|
|
-
|
|
|
location /chat {
|
|
|
alias /usr/share/nginx/html/chat;
|
|
|
try_files $uri $uri/ /chat/index.html;
|