nginx/server: Verify backend cert when proxying web sites
This commit is contained in:
parent
fbb64c4fb0
commit
aed88b417b
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ http {
|
||||||
|
|
||||||
proxy_ssl_certificate {{ tls_certs }}/{{ inventory_hostname }}.crt;
|
proxy_ssl_certificate {{ tls_certs }}/{{ inventory_hostname }}.crt;
|
||||||
proxy_ssl_certificate_key {{ tls_private }}/{{ inventory_hostname }}.key;
|
proxy_ssl_certificate_key {{ tls_private }}/{{ inventory_hostname }}.key;
|
||||||
|
proxy_ssl_trusted_certificate {{ tls_certs }}/ca.crt;
|
||||||
|
proxy_ssl_verify on;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue