Browse Source

feat: 添加Dockerfile

dongdong.xiang 1 month ago
parent
commit
6cfcfb4b1c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Dockerfile

+ 3 - 3
Dockerfile

@@ -1,13 +1,13 @@
 FROM registry.cn-hangzhou.aliyuncs.com/dockerhub_mirror/nginx
-MAINTAINER jeecgos@163.com
+MAINTAINER scrm
 VOLUME /tmp
 ENV LANG en_US.UTF-8
 RUN echo "server {  \
                       listen       80; \
                       location   /prod-api/ { \
-                      proxy_pass              http://jeecg-boot-system:8080/jeecg-boot/; \
+                      proxy_pass              http://127.0.0.1:8080/prod-api/; \
                       proxy_redirect          off; \
-                      proxy_set_header        Host jeecg-boot-system; \
+                      proxy_set_header        Host 127.0.0.1; \
                       proxy_set_header        X-Real-IP \$remote_addr; \
                       proxy_set_header        X-Forwarded-For \$proxy_add_x_forwarded_for; \
                   } \