Add HSTS header.
This commit is contained in:
parent
a2a911aaf9
commit
e9940ae9cb
@ -4,7 +4,7 @@
|
||||
# Copyright 2022-2023 Jake Winters
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
# Version: 1.0.0.2
|
||||
# Version: 2.0.0.3
|
||||
|
||||
|
||||
# Server (unencrypted)
|
||||
@ -35,6 +35,7 @@ server {
|
||||
ssl_conf_command Ciphersuites "TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256";
|
||||
ssl_conf_command Options PrioritizeChaCha;
|
||||
ssl_prefer_server_ciphers on;
|
||||
add_header Strict-Transport-Security "max-age=126200000; includeSubDomains; preload";
|
||||
|
||||
# Location
|
||||
location / {
|
||||
|
Loading…
x
Reference in New Issue
Block a user