From 7ec66e862c8a9c39877215da368825c312390ea3 Mon Sep 17 00:00:00 2001 From: Vicente Falco Date: Wed, 7 Jun 2017 09:07:58 +0200 Subject: [PATCH] nginx --- services/nginx/conf-dev.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/services/nginx/conf-dev.conf b/services/nginx/conf-dev.conf index 51d72c315f..8eb6bc2ece 100644 --- a/services/nginx/conf-dev.conf +++ b/services/nginx/conf-dev.conf @@ -31,9 +31,7 @@ http { location ~ ^/auth(?:/(.*))?$ { proxy_pass http://127.0.0.1:3000/$1$is_args$args; } - location ~ ^(?:/(.*))?$ { - proxy_pass http://127.0.0.1:3001/$1$is_args$args; - } + location ~ ^/client(?:/(.*))?$ { proxy_pass http://127.0.0.1:3002/$1$is_args$args; } @@ -43,6 +41,10 @@ http { location ~ ^/production(?:/(.*))?$ { proxy_pass http://127.0.0.1:3004/$1$is_args$args; } + # Este tiene que ser el Ășltimo + location ~ ^(?:/(.*))?$ { + proxy_pass http://127.0.0.1:3001/$1$is_args$args; + } } types {