From 3f8fc49de0a57774e8fb51ae015b71c030b36ae8 Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期四, 29 八月 2024 18:02:31 +0800
Subject: [PATCH] 后台 未修改

---
 docker-compose/nginx/conf/nginx.conf |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/docker-compose/nginx/conf/nginx.conf b/docker-compose/nginx/conf/nginx.conf
index ba639ab..e3efd20 100644
--- a/docker-compose/nginx/conf/nginx.conf
+++ b/docker-compose/nginx/conf/nginx.conf
@@ -19,8 +19,20 @@
             try_files $uri $uri/ /index.html;
             index  index.html index.htm;
         }
-
-        location /prod-api/{
+        
+        location /sso {
+            alias    /usr/share/nginx/html/sso;
+            try_files $uri $uri/ /sso/;
+            #index  index.html index.htm;
+        }
+        
+        location /sys {
+            alias    /usr/share/nginx/html/sys;
+            try_files $uri $uri/ /sys/;
+            #index  index.html index.htm;
+        }
+        
+        location /prod-api/ {
             proxy_set_header Host $http_host;
             proxy_set_header X-Real-IP $remote_addr;
             proxy_set_header REMOTE-HOST $remote_addr;
@@ -29,7 +41,7 @@
             proxy_pass http://se-gateway:8080/;
         }
 
-        # 閬垮厤actuator鏆撮湶
+        # actuator
         if ($request_uri ~ "/actuator") {
             return 403;
         }

--
Gitblit v1.9.3