add accounts proxy
This commit is contained in:
parent
0d836bb877
commit
0f060272e2
|
@ -357,6 +357,11 @@ server {
|
||||||
# proxy_pass http://oathkeeper:4455;
|
# proxy_pass http://oathkeeper:4455;
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
location /accounts {
|
||||||
|
rewrite /accounts/(.*) /$1 break;
|
||||||
|
proxy_pass http://accounts:3000;
|
||||||
|
}
|
||||||
|
|
||||||
# include custom locations, specific to the server
|
# include custom locations, specific to the server
|
||||||
include /etc/nginx/conf.d/server-override/*;
|
include /etc/nginx/conf.d/server-override/*;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue