Commit a98499354b3401a2eeb2282283301958dda32c05
Committed by
GitHub
1 parent
2344d6d6
Used thingsboard/haproxy-certbot image (#4354)
* Used thingsboard/haproxy-certbot image * Used 1.3.0 version of thingsboard/haproxy-certbot
Showing
2 changed files
with
3 additions
and
3 deletions
... | ... | @@ -216,7 +216,7 @@ services: |
216 | 216 | haproxy: |
217 | 217 | restart: always |
218 | 218 | container_name: "${LOAD_BALANCER_NAME}" |
219 | - image: xalauc/haproxy-certbot:1.7.9 | |
219 | + image: thingsboard/haproxy-certbot:1.3.0 | |
220 | 220 | volumes: |
221 | 221 | - ./haproxy/config:/config |
222 | 222 | - ./haproxy/letsencrypt:/etc/letsencrypt | ... | ... |
... | ... | @@ -54,7 +54,7 @@ frontend http-in |
54 | 54 | |
55 | 55 | option forwardfor |
56 | 56 | |
57 | - reqadd X-Forwarded-Proto:\ http | |
57 | + http-request add-header "X-Forwarded-Proto" "http" | |
58 | 58 | |
59 | 59 | acl transport_http_acl path_beg /api/v1/ |
60 | 60 | acl letsencrypt_http_acl path_beg /.well-known/acme-challenge/ |
... | ... | @@ -73,7 +73,7 @@ frontend https_in |
73 | 73 | |
74 | 74 | option forwardfor |
75 | 75 | |
76 | - reqadd X-Forwarded-Proto:\ https | |
76 | + http-request add-header "X-Forwarded-Proto" "https" | |
77 | 77 | |
78 | 78 | acl transport_http_acl path_beg /api/v1/ |
79 | 79 | acl tb_api_acl path_beg /api/ /swagger /webjars /v2/ /static/rulenode/ /oauth2/ /login/oauth2/ /static/widgets/ | ... | ... |