Skip to content
This repository was archived by the owner on Aug 21, 2022. It is now read-only.

Commit a272874

Browse files
committed
chore(vendor): Update h5bp/server-configs-nginx to v3.3.0
1 parent 482f78b commit a272874

9 files changed

Lines changed: 16 additions & 14 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v3.3.0

vendor/server-configs-nginx/h5bp/.gitkeep

Whitespace-only changes.

vendor/server-configs-nginx/h5bp/location/web_performance_filename-based_cache_busting.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
# something like `*.css?v231`, please see:
1010
# https://www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/
1111

12-
location ~* (.+)\.(?:\w+)\.(bmp|css|cur|gif|ico|jpe?g|m?js|png|svgz?|webp|webmanifest)$ {
12+
location ~* (.+)\.(?:\w+)\.(avifs?|bmp|css|cur|gif|ico|jpe?g|m?js|a?png|svgz?|webp|webmanifest)$ {
1313
try_files $uri $1.$2;
1414
}

vendor/server-configs-nginx/h5bp/security/content-security-policy.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Mitigate the risk of cross-site scripting and other content-injection
66
# attacks.
77
#
8-
# This can be done by setting a `Content Security Policy` which whitelists
8+
# This can be done by setting a Content Security Policy which permits
99
# trusted sources of content for your website.
1010
#
1111
# There is no policy that fits all websites, you will have to modify the

vendor/server-configs-nginx/h5bp/security/x-xss-protection.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
# web browsers.
99
#
1010
# The filter is usually enabled by default, but in some cases, it may be
11-
# disabled by the user. However, in Internet Explorer, for example, it can be
12-
# re-enabled just by sending the `X-XSS-Protection` header with the value
13-
# of `1`.
11+
# disabled by the user. However, in Internet Explorer, for example, it can
12+
# be re-enabled just by sending the `X-XSS-Protection` header with the
13+
# value of `1`.
1414
#
1515
# (2) Prevent web browsers from rendering the web page if a potential reflected
1616
# (a.k.a non-persistent) XSS attack is detected by the filter.

vendor/server-configs-nginx/h5bp/ssl/certificate_files.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# users of IE 8 and below on WinXP can see your main site without SSL errors.
99
#
1010
# (1) Certificate and key files location
11-
# The certificate file can contain intermediate certificate.
11+
# The certificate file can contain an intermediate certificate.
1212
#
1313
# https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_certificate
1414
#
@@ -17,7 +17,7 @@
1717
#
1818
# https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_trusted_certificate
1919
#
20-
# (3) CA certificate file location for client certificate authentication
20+
# (3) CA certificate file location for client certificate authentication.
2121
#
2222
# https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_client_certificate
2323

vendor/server-configs-nginx/h5bp/ssl/policy_intermediate.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# For services that don't need backward compatibility, the parameters below
66
# provide a higher level of security.
77
#
8-
# (!) This policy enforces a strong SSL configuration, which may raise errors
9-
# with old clients.
10-
# If a more compatible profile is required, use the intermediate policy.
8+
# (!) This policy enforces a mildly strong SSL configuration, which may raise
9+
# errors with old clients.
10+
# If a more compatible profile is required, use the "deprecated" policy.
1111
#
1212
# (1) The NIST curves (prime256v1, secp384r1, secp521r1) are known to be weak
1313
# and potentially vulnerable but are required to support Microsoft Edge

vendor/server-configs-nginx/h5bp/ssl/policy_modern.conf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# For services that want to be on the bleeding edge, the parameters below
66
# sacrifice compatibility for the highest level of security and performance.
77
#
8-
# (!) TLSv1.3 and it's 0-RTT feature require NGINX >=1.15.4 and OpenSSL >=1.1.1
8+
# (!) TLSv1.3 and its 0-RTT feature require NGINX >=1.15.4 and OpenSSL >=1.1.1
99
# to be installed.
1010
#
1111
# (!) Don't enable `ssl_early_data` blindly! Requests sent within early data are
@@ -23,8 +23,9 @@
2323
#
2424
# (!) Requests sent within early data are subject to replay attacks.
2525
# To protect against such attacks at the application layer, the
26-
# $ssl_early_data variable should be used:
27-
# proxy_set_header Early-Data $ssl_early_data;
26+
# `$ssl_early_data` variable should be used:
27+
#
28+
# proxy_set_header Early-Data $ssl_early_data;
2829
#
2930
# The application should return response code 425 "Too Early" for anything
3031
# that could contain user supplied data.

vendor/server-configs-nginx/h5bp/web_performance/pre-compressed_content_brotli.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# (!) To make this part relevant, you need to generate encoded files by your
99
# own. Enabling this part will not auto-generate brotlied files.
1010
#
11-
# Note that some clients (eg. browsers) require a secure connection to request
11+
# Note that some clients (e.g. browsers) require a secure connection to request
1212
# brotli-compressed resources.
1313
# https://www.chromestatus.com/feature/5420797577396224
1414
#

0 commit comments

Comments
 (0)