This commit is contained in:
Vicente Falco 2017-06-07 09:07:58 +02:00
parent 00dd05ba6d
commit 7ec66e862c
1 changed files with 5 additions and 3 deletions

View File

@ -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 {