File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,14 @@ http {
161161 }
162162 server {
163163 listen 10088 ;
164+ // When choosing a cipher during an SSLv3 or TLSv1 handshake, normally the client's preference is used.
165+ // If this directive is enabled, the server 's preference will be used instead
166+ ssl_prefer_server_ciphers on;
167+ // enable the shared session cache to help reduce the processor load
168+ ssl_session_cache shared:SSL:10m ;
169+ ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
170+ // The recommended cipher suite for backwards compatibility ( IE6/WinXP) :
171+ 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" ;
164172 location /nginx_status {
165173 stub_status on;
166174 access_log off;
You can’t perform that action at this time.
0 commit comments