diff --git a/compose/dashboard_conf/nginx.conf b/compose/dashboard_conf/nginx.conf index 3735dd8de2..497780d0b9 100644 --- a/compose/dashboard_conf/nginx.conf +++ b/compose/dashboard_conf/nginx.conf @@ -15,6 +15,13 @@ server { try_files $uri $uri/ /index.html; } + location /user/login { + if ( $request_method = 'POST' ) { #HERE + proxy_pass http://manager:8080; + } + try_files $uri $uri/ /index.html; + } + location /apisix/admin { proxy_pass http://manager:8080/apisix/admin; }