require client certificate for incoming connections on backend servers
This commit is contained in:
parent
de148708a9
commit
8e6db48503
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ http {
|
||||||
ssl_trusted_certificate /etc/pki/tls/certs/ca.crt;
|
ssl_trusted_certificate /etc/pki/tls/certs/ca.crt;
|
||||||
ssl_certificate_key /etc/pki/tls/private/{{ inventory_hostname }}.key;
|
ssl_certificate_key /etc/pki/tls/private/{{ inventory_hostname }}.key;
|
||||||
|
|
||||||
|
ssl_client_certificate /etc/pki/tls/certs/ca.crt;
|
||||||
|
ssl_verify_client on;
|
||||||
|
|
||||||
root /srv/web/{{ inventory_hostname }};
|
root /srv/web/{{ inventory_hostname }};
|
||||||
|
|
||||||
include /etc/nginx/conf.d/{{ inventory_hostname }}/*.conf;
|
include /etc/nginx/conf.d/{{ inventory_hostname }}/*.conf;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue