nginx
This commit is contained in:
parent
034bd93c99
commit
0ad4558c17
|
@ -40,6 +40,10 @@ http {
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ ^/mailer(?:/(.*))?$ {
|
||||||
|
proxy_pass http://127.0.0.1:3003/$1$is_args$args;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
types {
|
types {
|
||||||
|
|
|
@ -35,5 +35,9 @@ http {
|
||||||
location ~ ^/client(?:/(.*))?$ {
|
location ~ ^/client(?:/(.*))?$ {
|
||||||
proxy_pass http://client:3002/$1$is_args$args;
|
proxy_pass http://client:3002/$1$is_args$args;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ ^/mailer(?:/(.*))?$ {
|
||||||
|
proxy_pass http://127.0.0.1:3003/$1$is_args$args;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue