This commit is contained in:
Vicente Falco 2017-05-15 08:07:30 +02:00
parent 8c47938bd0
commit 8a9d8c83b6
2 changed files with 4 additions and 4 deletions

View File

@ -10,6 +10,6 @@ COPY static /usr/share/nginx/html
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

View File

@ -25,15 +25,15 @@ http {
}
location ~ ^/auth(?:/(.*))?$ {
proxy_pass http://test-auth:3000/$1$is_args$args;
proxy_pass http://auth:3000/$1$is_args$args;
}
location ~ ^/salix(?:/(.*))?$ {
proxy_pass http://test-salix:3001/$1$is_args$args;
proxy_pass http://salix:3001/$1$is_args$args;
}
location ~ ^/client(?:/(.*))?$ {
proxy_pass http://test-client:3002/$1$is_args$args;
proxy_pass http://client:3002/$1$is_args$args;
}
}
}