File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ http {
4141 server websocket:8080 ;
4242 }
4343
44+ upstream docker-admin {
45+ server admin:8080 ;
46+ }
47+
4448 upstream docker-web-app {
4549 server app:80 ;
4650 }
@@ -96,11 +100,6 @@ http {
96100 return 204 ;
97101 }
98102
99- location /auth/ext {
100- proxy_pass http ://docker-auth;
101- rewrite ^/auth/( .*) $ /$1 break ;
102- }
103-
104103 location /auth {
105104 resolver 127.0.0.11 ;
106105 set $backend http ://docker-auth;
@@ -159,6 +158,13 @@ http {
159158 rewrite ^/ipg/( .*) $ /$1 break ;
160159 }
161160
161+ location /admin {
162+ resolver 127.0.0.11 ;
163+ set $backend http ://docker-admin;
164+ proxy_pass $backend ;
165+ rewrite ^/admin/( .*) $ /$1 break ;
166+ }
167+
162168 location /api {
163169 resolver 127.0.0.11 ;
164170 set $backend http ://docker-api;
You can’t perform that action at this time.
0 commit comments