gateway情况下,必须有斜杠结尾
parent
c669bee385
commit
30bfbfc308
|
@ -4,8 +4,8 @@ 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 /jeecgboot/ { \
|
||||
proxy_pass http://jeecg-boot-system:8080/jeecg-boot/; \
|
||||
proxy_redirect off; \
|
||||
proxy_set_header Host jeecg-boot-system; \
|
||||
proxy_set_header X-Real-IP \$remote_addr; \
|
||||
|
@ -27,4 +27,4 @@ RUN echo "server { \
|
|||
|
||||
ADD dist/ /var/www/html/
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
EXPOSE 443
|
||||
|
|
Loading…
Reference in New Issue