feat:重构模块

This commit is contained in:
2025-10-08 22:06:39 +08:00
parent f60d78fe8b
commit 2e81e57774
222 changed files with 2267 additions and 3059 deletions

View File

@@ -8,17 +8,18 @@ server {
server_name _;
#location /admin-service/ {
#proxy_pass http://admin-service:8080/;
#}
location /sweet-hut/ {
alias /usr/share/nginx/html/;
try_files $uri $uri/ /sweet-hut/index.html;
}
location /home-service/ {
proxy_pass http://home-service:8081/;
location /home-api/ {
proxy_pass http://host.docker.internal:8081/;
}
#location /blog-service/ {
#proxy_pass http://blog-service:8082/;
#}
location /blog-api/ {
proxy_pass http://host.docker.internal:8082/;
}
location / {
try_files $uri $uri/ =404;