From 8a9d8c83b64fbc3401600a99937ad7c96be2bd66 Mon Sep 17 00:00:00 2001 From: Vicente Falco Date: Mon, 15 May 2017 08:07:30 +0200 Subject: [PATCH] docker --- services/nginx/Dockerfile | 2 +- services/nginx/conf-prod.conf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/nginx/Dockerfile b/services/nginx/Dockerfile index 0f88e31f2..ad45cd083 100644 --- a/services/nginx/Dockerfile +++ b/services/nginx/Dockerfile @@ -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 \ No newline at end of file diff --git a/services/nginx/conf-prod.conf b/services/nginx/conf-prod.conf index c2a028fa8..a06efe5c1 100644 --- a/services/nginx/conf-prod.conf +++ b/services/nginx/conf-prod.conf @@ -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; } } } \ No newline at end of file