修改dockerfile
This commit is contained in:
parent
27a13e9eaa
commit
31894f3e2f
|
@ -8,8 +8,8 @@ RUN echo "server { \
|
||||||
location /prod-api/ { \
|
location /prod-api/ { \
|
||||||
proxy_pass http://192.168.10.241:30646/; \
|
proxy_pass http://192.168.10.241:30646/; \
|
||||||
proxy_set_header Host 192.168.10.241; \
|
proxy_set_header Host 192.168.10.241; \
|
||||||
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; \
|
||||||
}\
|
}\
|
||||||
location / { \
|
location / { \
|
||||||
root /var/www/html/; \
|
root /var/www/html/; \
|
||||||
|
|
Loading…
Reference in New Issue