docker
This commit is contained in:
parent
8c47938bd0
commit
8a9d8c83b6
|
@ -10,6 +10,6 @@ COPY static /usr/share/nginx/html
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y install vim dnsmasq
|
RUN apt-get update && apt-get -y install vim dnsmasq
|
||||||
|
|
||||||
RUN echo listen-address=127.0.0.1 > /etc/dnsmasq.d
|
RUN echo listen-address=127.0.0.1 > /etc/dnsmasq.d/dnsmasq.conf
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
|
@ -25,15 +25,15 @@ http {
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/auth(?:/(.*))?$ {
|
location ~ ^/auth(?:/(.*))?$ {
|
||||||
proxy_pass http://test-auth:3000/$1$is_args$args;
|
proxy_pass http://auth:3000/$1$is_args$args;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/salix(?:/(.*))?$ {
|
location ~ ^/salix(?:/(.*))?$ {
|
||||||
proxy_pass http://test-salix:3001/$1$is_args$args;
|
proxy_pass http://salix:3001/$1$is_args$args;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/client(?:/(.*))?$ {
|
location ~ ^/client(?:/(.*))?$ {
|
||||||
proxy_pass http://test-client:3002/$1$is_args$args;
|
proxy_pass http://client:3002/$1$is_args$args;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue