From 0f060272e2bf4ae4f13deb4f7032b3defd77c2ad Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Mon, 14 Dec 2020 18:10:27 +0100 Subject: [PATCH] add accounts proxy --- docker/nginx/conf.d/client.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 451aedc6..84157da3 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -357,6 +357,11 @@ server { # proxy_pass http://oathkeeper:4455; #} + location /accounts { + rewrite /accounts/(.*) /$1 break; + proxy_pass http://accounts:3000; + } + # include custom locations, specific to the server include /etc/nginx/conf.d/server-override/*; }