gateway情况下,必须有斜杠结尾

pull/171/head
zhangdaiscott 2022-10-17 13:53:24 +08:00
parent c669bee385
commit 30bfbfc308
1 changed files with 3 additions and 3 deletions

View File

@ -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