Add mTLS
parent
f691010782
commit
62165d0008
|
@ -41,7 +41,6 @@ stream {
|
||||||
#proxy_pass backend;
|
#proxy_pass backend;
|
||||||
proxy_pass nginx2;
|
proxy_pass nginx2;
|
||||||
|
|
||||||
ssl_trusted_certificate /etc/nginx/ssl/server1.crt;
|
|
||||||
ssl_certificate /etc/nginx/ssl/server1.crt;
|
ssl_certificate /etc/nginx/ssl/server1.crt;
|
||||||
ssl_certificate_key /etc/nginx/ssl/server1.key;
|
ssl_certificate_key /etc/nginx/ssl/server1.key;
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,6 @@ stream {
|
||||||
listen 7050 ssl;
|
listen 7050 ssl;
|
||||||
proxy_pass backend;
|
proxy_pass backend;
|
||||||
|
|
||||||
ssl_trusted_certificate /etc/nginx/ssl/server2.crt;
|
|
||||||
ssl_certificate /etc/nginx/ssl/server2.crt;
|
ssl_certificate /etc/nginx/ssl/server2.crt;
|
||||||
ssl_certificate_key /etc/nginx/ssl/server2.key;
|
ssl_certificate_key /etc/nginx/ssl/server2.key;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue