nginx/site: Disable certificate check when we have multiple backends
Nginx requires that all backend certificates need to match name defined in ProxyPass directive: https://trac.nginx.org/nginx/ticket/1307
This commit is contained in:
parent
90ccb41fd3
commit
89eec4e1c5
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ server {
|
||||||
{% elif proxy is defined %}
|
{% elif proxy is defined %}
|
||||||
location / {
|
location / {
|
||||||
{% if proxy is not string %}
|
{% if proxy is not string %}
|
||||||
|
# https://trac.nginx.org/nginx/ticket/1307
|
||||||
|
proxy_ssl_verify off;
|
||||||
proxy_pass https://upstream_{{ site }};
|
proxy_pass https://upstream_{{ site }};
|
||||||
{% else %}
|
{% else %}
|
||||||
proxy_pass {{ proxy }};
|
proxy_pass {{ proxy }};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue