Commit 20a4163cce171278978b4c37d4c834980a9cbbbe

Authored by Dmitriymush
1 parent fd2db749

fix additions

... ... @@ -58,7 +58,7 @@ frontend http-in
58 58
59 59 acl transport_http_acl path_beg /api/v1/
60 60 acl letsencrypt_http_acl path_beg /.well-known/acme-challenge/
61   - acl tb_api_acl path_beg /api/ /swagger /webjars /v2/ /static/rulenode/ /oauth2/ /login/oauth2/ /static/
  61 + acl tb_api_acl path_beg /api/ /swagger /webjars /v2/ /static/rulenode/ /oauth2/ /login/oauth2/ /static/widgets/
62 62
63 63 redirect scheme https if !letsencrypt_http_acl !transport_http_acl { env(FORCE_HTTPS_REDIRECT) -m str true }
64 64
... ... @@ -76,7 +76,7 @@ frontend https_in
76 76 reqadd X-Forwarded-Proto:\ https
77 77
78 78 acl transport_http_acl path_beg /api/v1/
79   - acl tb_api_acl path_beg /api/ /swagger /webjars /v2/ /static/rulenode/ /oauth2/ /login/oauth2/ /static/
  79 + acl tb_api_acl path_beg /api/ /swagger /webjars /v2/ /static/rulenode/ /oauth2/ /login/oauth2/ /static/widgets/
80 80
81 81 use_backend tb-http-backend if transport_http_acl
82 82 use_backend tb-api-backend if tb_api_acl
... ...
... ... @@ -27,15 +27,15 @@ const PROXY_CONFIG = {
27 27 "target": ruleNodeUiforwardUrl,
28 28 "secure": false,
29 29 },
30   - "/oauth2": {
  30 + "/static/widgets": {
31 31 "target": forwardUrl,
32 32 "secure": false,
33 33 },
34   - "/login/oauth2": {
  34 + "/oauth2": {
35 35 "target": forwardUrl,
36 36 "secure": false,
37 37 },
38   - "/static": {
  38 + "/login/oauth2": {
39 39 "target": forwardUrl,
40 40 "secure": false,
41 41 },
... ...