初始化v1.2

This commit is contained in:
gaoyutao
2025-11-24 16:19:09 +08:00
parent c0f51ef007
commit de49404116
918 changed files with 4236 additions and 4239 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ http {
server_name localhost;
location / {
root /home/ruoyi/projects/ruoyi-ui;
root /home/tongran/projects/tongran-ui;
try_files $uri $uri/ /index.html;
index index.html index.htm;
}
@@ -25,7 +25,7 @@ http {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://ruoyi-gateway:8080/;
proxy_pass http://tongran-gateway:8080/;
}
# 避免actuator暴露
+5 -5
View File
@@ -1,15 +1,15 @@
# 基础镜像
FROM nginx
# author
MAINTAINER ruoyi
MAINTAINER tongran
# 挂载目录
VOLUME /home/ruoyi/projects/ruoyi-ui
VOLUME /home/tongran/projects/tongran-ui
# 创建目录
RUN mkdir -p /home/ruoyi/projects/ruoyi-ui
RUN mkdir -p /home/tongran/projects/tongran-ui
# 指定路径
WORKDIR /home/ruoyi/projects/ruoyi-ui
WORKDIR /home/tongran/projects/tongran-ui
# 复制conf文件到路径
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
# 复制html文件到路径
COPY ./html/dist /home/ruoyi/projects/ruoyi-ui
COPY ./html/dist /home/tongran/projects/tongran-ui