diff options
-rw-r--r-- | custom/ymir-nginx.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 9c98d2ab..fd7d7e94 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix | |||
@@ -68,6 +68,12 @@ in { | |||
68 | access_log stderr; | 68 | access_log stderr; |
69 | error_log stderr; | 69 | error_log stderr; |
70 | 70 | ||
71 | ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | ||
72 | ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH'; | ||
73 | ssl_prefer_server_ciphers on; | ||
74 | ssl_session_cache shared:SSL:10m; | ||
75 | ssl_dhparam /etc/ssl/dhparam.pem; | ||
76 | |||
71 | server { | 77 | server { |
72 | listen *:80; | 78 | listen *:80; |
73 | listen [::]:80; | 79 | listen [::]:80; |