将前后端分离的代理独立出来,并解决了一系列nginx代理问题

This commit is contained in:
carry
2025-02-20 02:51:40 +08:00
parent 1abc63a603
commit 5421b81828
4 changed files with 13 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
# 复制Nginx配置文件
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/nginx.conf
# 暴露80端口
EXPOSE 80