Skip to content

Commit

Permalink
Use secure ciphers and TLS protocols where supported
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeChapman committed Jan 26, 2017
1 parent b2ef137 commit 1d7a326
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,14 @@ http {
}
server {
listen 10088;
// When choosing a cipher during an SSLv3 or TLSv1 handshake, normally the client's preference is used.
// If this directive is enabled, the server's preference will be used instead
ssl_prefer_server_ciphers on;
// enable the shared session cache to help reduce the processor load
ssl_session_cache shared:SSL:10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
// The recommended cipher suite for backwards compatibility (IE6/WinXP):
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:ECDHE-RSA-AES128-GCM-SHA256:AES256+EECDH:DHE-RSA-AES128-GCM-SHA256:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4";
location /nginx_status {
stub_status on;
access_log off;
Expand Down

0 comments on commit 1d7a326

Please sign in to comment.