Dockerfile
@@ -1,13 +1,13 @@ FROM nginx MAINTAINER jeecgos@163.com MAINTAINER bsw VOLUME /tmp ENV LANG en_US.UTF-8 RUN echo "server { \ listen 80; \ location /jeecgboot/ { \ proxy_pass http://jeecg-boot-system:8080/jeecg-boot/; \ location /herb/ { \ proxy_pass http://jeecg-boot-gateway:9999/; \ proxy_redirect off; \ proxy_set_header Host jeecg-boot-system; \ proxy_set_header Host jeecg-boot-gateway; \ proxy_set_header X-Real-IP \$remote_addr; \ proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; \ } \