Explorar o código

fix api proxy

lushuncheng %!s(int64=6) %!d(string=hai) anos
pai
achega
4b72e573aa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      config/nginx/template/proginn.nginx.conf

+ 1 - 1
config/nginx/template/proginn.nginx.conf

@@ -253,7 +253,7 @@ server {
     if ($temp_request_id = "") {
         set $temp_request_id $request_id;
     }
-    location /api/admin {
+    location /api {
         proxy_pass http://127.0.0.1;
         proxy_set_header Host {{domain}}.test.proginn.com;
     }