ci: 🎡 dockerfile nginx反代请求头
This commit is contained in:
parent
00df9d643b
commit
a4754cb513
@ -12,7 +12,7 @@ RUN echo "server { \
|
|||||||
proxy_set_header Host jeecg-boot-system; \
|
proxy_set_header Host jeecg-boot-system; \
|
||||||
proxy_set_header X-Real-IP \$remote_addr; \
|
proxy_set_header X-Real-IP \$remote_addr; \
|
||||||
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; \
|
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; \
|
||||||
proxy_set_header X-Forwarded-Proto \$scheme; \
|
proxy_set_header X-Access-Token \$http_x_access_token; \
|
||||||
} \
|
} \
|
||||||
#解决Router(mode: 'history')模式下,刷新路由地址不能找到页面的问题 \
|
#解决Router(mode: 'history')模式下,刷新路由地址不能找到页面的问题 \
|
||||||
location / { \
|
location / { \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user