|
@@ -69,7 +69,7 @@ frontend http-in |
|
@@ -69,7 +69,7 @@ frontend http-in |
69
|
|
69
|
|
70
|
acl transport_http_acl path_beg /api/v1/
|
70
|
acl transport_http_acl path_beg /api/v1/
|
71
|
acl letsencrypt_http_acl path_beg /.well-known/acme-challenge/
|
71
|
acl letsencrypt_http_acl path_beg /.well-known/acme-challenge/
|
72
|
- acl tb_api_acl path_beg /api/ /swagger /webjars /v2/ /static/rulenode/ /oauth2/ /login/oauth2/ /static/widgets/
|
72
|
+ acl tb_api_acl path_beg /api/ /swagger /webjars /v2/ /v3/ /static/rulenode/ /oauth2/ /login/oauth2/ /static/widgets/
|
73
|
|
73
|
|
74
|
redirect scheme https if !letsencrypt_http_acl !transport_http_acl { env(FORCE_HTTPS_REDIRECT) -m str true }
|
74
|
redirect scheme https if !letsencrypt_http_acl !transport_http_acl { env(FORCE_HTTPS_REDIRECT) -m str true }
|
75
|
|
75
|
|
|
@@ -87,7 +87,7 @@ frontend https_in |
|
@@ -87,7 +87,7 @@ frontend https_in |
87
|
http-request add-header "X-Forwarded-Proto" "https"
|
87
|
http-request add-header "X-Forwarded-Proto" "https"
|
88
|
|
88
|
|
89
|
acl transport_http_acl path_beg /api/v1/
|
89
|
acl transport_http_acl path_beg /api/v1/
|
90
|
- acl tb_api_acl path_beg /api/ /swagger /webjars /v2/ /static/rulenode/ /oauth2/ /login/oauth2/ /static/widgets/
|
90
|
+ acl tb_api_acl path_beg /api/ /swagger /webjars /v2/ /v3/ /static/rulenode/ /oauth2/ /login/oauth2/ /static/widgets/
|
91
|
|
91
|
|
92
|
use_backend tb-http-backend if transport_http_acl
|
92
|
use_backend tb-http-backend if transport_http_acl
|
93
|
use_backend tb-api-backend if tb_api_acl
|
93
|
use_backend tb-api-backend if tb_api_acl
|