Skip to content

Commit d0a8908

Browse files
committed
Update options-ssl-nginx.conf
1 parent 27c5a11 commit d0a8908

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

webserver/ssl-option/options-ssl-nginx.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ ssl_prefer_server_ciphers on;
66
ssl_ciphers "ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS";
77

88
# add_header Strict-Transport-Security "max-age=31536000" always;
9-
# add_header Content-Security-Policy upgrade-insecure-requests;
9+
# add_header Content-Security-Policy upgrade-insecure-requests;
10+
11+
# add global x-content-type-options header
12+
# add_header X-Content-Type-Options nosniff;
13+
1014
ssl_stapling on;
1115
ssl_stapling_verify on;
1216
resolver 127.0.0.11;

0 commit comments

Comments
 (0)