mirror of
https://github.com/caprover/caprover
synced 2026-09-25 16:15:34 +00:00
Merge pull request #595 from sneak/patch-1
Enforce the same TLS settings for all TLS vhosts
This commit is contained in:
@@ -9,6 +9,11 @@
|
||||
listen 443 ssl;
|
||||
ssl_certificate <%-fake.crtPath%>;
|
||||
ssl_certificate_key <%-fake.keyPath%>;
|
||||
|
||||
# Mozilla Intermediate configuration. tweak to your needs.
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
|
||||
ssl_prefer_server_ciphers off;
|
||||
|
||||
server_name _;
|
||||
|
||||
@@ -117,6 +122,11 @@
|
||||
listen 443 ssl;
|
||||
ssl_certificate <%-registry.crtPath%>;
|
||||
ssl_certificate_key <%-registry.keyPath%>;
|
||||
|
||||
# Mozilla Intermediate configuration. tweak to your needs.
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
|
||||
ssl_prefer_server_ciphers off;
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
Reference in New Issue
Block a user