nginx
This commit is contained in:
parent
00dd05ba6d
commit
7ec66e862c
|
@ -31,9 +31,7 @@ http {
|
||||||
location ~ ^/auth(?:/(.*))?$ {
|
location ~ ^/auth(?:/(.*))?$ {
|
||||||
proxy_pass http://127.0.0.1:3000/$1$is_args$args;
|
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(?:/(.*))?$ {
|
location ~ ^/client(?:/(.*))?$ {
|
||||||
proxy_pass http://127.0.0.1:3002/$1$is_args$args;
|
proxy_pass http://127.0.0.1:3002/$1$is_args$args;
|
||||||
}
|
}
|
||||||
|
@ -43,6 +41,10 @@ http {
|
||||||
location ~ ^/production(?:/(.*))?$ {
|
location ~ ^/production(?:/(.*))?$ {
|
||||||
proxy_pass http://127.0.0.1:3004/$1$is_args$args;
|
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 {
|
types {
|
||||||
|
|
Loading…
Reference in New Issue