This commit is contained in:
parent
e189a53aef
commit
2617a47307
|
@ -5,14 +5,11 @@ ENV LANG en_US.UTF-8
|
||||||
RUN echo "server { \
|
RUN echo "server { \
|
||||||
listen 9988; \
|
listen 9988; \
|
||||||
server_name localhost; \
|
server_name localhost; \
|
||||||
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 $host; \
|
proxy_set_header Host 192.168.10.241:30646; \
|
||||||
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-Host $http_host; \
|
|
||||||
proxy_set_header X-Forwarded-Port $server_port; \
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme; \
|
|
||||||
}\
|
}\
|
||||||
location / { \
|
location / { \
|
||||||
root /var/www/html/; \
|
root /var/www/html/; \
|
||||||
|
|
Loading…
Reference in New Issue