|
@@ -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; \
|
|
|
} \
|