mirror of
https://github.com/bitwarden/server.git
synced 2025-02-19 02:21:21 +01:00
Comment capitalization
This commit is contained in:
parent
92d6524b35
commit
6801da46e5
@ -115,18 +115,18 @@ server {{
|
|||||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||||
# Disabled insecure ciphers suite. For example, MD5, DES, RC4, PSK
|
# Disabled insecure ciphers suite. For example, MD5, DES, RC4, PSK
|
||||||
ssl_ciphers ""{SslCiphers}"";
|
ssl_ciphers ""{SslCiphers}"";
|
||||||
# enables server-side protection from BEAST attacks
|
# Enables server-side protection from BEAST attacks
|
||||||
ssl_prefer_server_ciphers on;");
|
ssl_prefer_server_ciphers on;");
|
||||||
|
|
||||||
if(Trusted)
|
if(Trusted)
|
||||||
{
|
{
|
||||||
sw.WriteLine($@"
|
sw.WriteLine($@"
|
||||||
# OCSP Stapling ---
|
# OCSP Stapling ---
|
||||||
# fetch OCSP records from URL in ssl_certificate and cache them
|
# Fetch OCSP records from URL in ssl_certificate and cache them
|
||||||
ssl_stapling on;
|
ssl_stapling on;
|
||||||
ssl_stapling_verify on;
|
ssl_stapling_verify on;
|
||||||
|
|
||||||
## verify chain of trust of OCSP response using Root CA and Intermediate certs
|
# Verify chain of trust of OCSP response using Root CA and Intermediate certs
|
||||||
ssl_trusted_certificate {sslPath}/{caFile};
|
ssl_trusted_certificate {sslPath}/{caFile};
|
||||||
|
|
||||||
resolver 8.8.8.8 8.8.4.4 208.67.222.222 208.67.220.220 valid=300s;
|
resolver 8.8.8.8 8.8.4.4 208.67.222.222 208.67.220.220 valid=300s;
|
||||||
@ -140,7 +140,7 @@ server {{
|
|||||||
# X-Frame-Options is to prevent from click-jacking attack
|
# X-Frame-Options is to prevent from click-jacking attack
|
||||||
#add_header X-Frame-Options SAMEORIGIN;
|
#add_header X-Frame-Options SAMEORIGIN;
|
||||||
|
|
||||||
# disable content-type sniffing on some browsers.
|
# Disable content-type sniffing on some browsers.
|
||||||
add_header X-Content-Type-Options nosniff;
|
add_header X-Content-Type-Options nosniff;
|
||||||
|
|
||||||
# This header enables the Cross-site scripting (XSS) filter
|
# This header enables the Cross-site scripting (XSS) filter
|
||||||
|
Loading…
Reference in New Issue
Block a user