Commit 50e2f47d authored by tanghao's avatar tanghao

bs_url

parent 7a130060
FROM nginx FROM nginx
ENV baseurl http://192.168.3.151:10000/ ENV bs_url http://192.168.3.151:10000/
MAINTAINER tanghao@163.com MAINTAINER tanghao@163.com
VOLUME /tmp VOLUME /tmp
ENV LANG en_US.UTF-8 ENV LANG en_US.UTF-8
...@@ -7,7 +7,7 @@ RUN echo "server { \ ...@@ -7,7 +7,7 @@ RUN echo "server { \
listen 80; \ listen 80; \
client_max_body_size 50M; \ client_max_body_size 50M; \
location /api/ { \ location /api/ { \
proxy_pass $baseurl; \ proxy_pass $bs_url; \
proxy_redirect off; \ proxy_redirect off; \
proxy_set_header Host topsun-excel-order; \ proxy_set_header Host topsun-excel-order; \
proxy_set_header X-Real-IP \$remote_addr; \ proxy_set_header X-Real-IP \$remote_addr; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment