修改dockerfile

This commit is contained in:
0000792 2022-09-20 14:17:57 +08:00
parent 27a13e9eaa
commit 31894f3e2f
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ RUN echo "server { \
location /prod-api/ { \
proxy_pass http://192.168.10.241:30646/; \
proxy_set_header Host 192.168.10.241; \
proxy_set_header X-Real-IP $remote_addr; \
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; \
proxy_set_header X-Real-IP \$remote_addr; \
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; \
}\
location / { \
root /var/www/html/; \