From 0ad4558c1758395e8b328718106bb904cc94347d Mon Sep 17 00:00:00 2001 From: Vicente Falco Date: Mon, 29 May 2017 13:48:20 +0200 Subject: [PATCH] nginx --- services/nginx/conf-dev.conf | 4 ++++ services/nginx/conf-prod.conf | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/services/nginx/conf-dev.conf b/services/nginx/conf-dev.conf index e31d2290a3..43faaca1ab 100644 --- a/services/nginx/conf-dev.conf +++ b/services/nginx/conf-dev.conf @@ -40,6 +40,10 @@ http { location ~ ^/client(?:/(.*))?$ { proxy_pass http://127.0.0.1:3002/$1$is_args$args; } + + location ~ ^/mailer(?:/(.*))?$ { + proxy_pass http://127.0.0.1:3003/$1$is_args$args; + } } types { diff --git a/services/nginx/conf-prod.conf b/services/nginx/conf-prod.conf index 490284cab6..f56ae70879 100644 --- a/services/nginx/conf-prod.conf +++ b/services/nginx/conf-prod.conf @@ -35,5 +35,9 @@ http { location ~ ^/client(?:/(.*))?$ { proxy_pass http://client:3002/$1$is_args$args; } + + location ~ ^/mailer(?:/(.*))?$ { + proxy_pass http://127.0.0.1:3003/$1$is_args$args; + } } } \ No newline at end of file