From e30032165c268a9338a353f51f394dcf3746c27d Mon Sep 17 00:00:00 2001 From: Pete Cooper Date: Tue, 14 May 2019 18:02:21 +0100 Subject: [PATCH] Fix misc typos in comments (#228) --- conf.d/.default.conf | 2 +- conf.d/no-ssl.default.conf | 2 +- conf.d/templates/example.com.conf | 4 ++-- conf.d/templates/no-ssl.example.com.conf | 4 ++-- h5bp/location/security_file_access.conf | 2 +- h5bp/security/x-frame-options.conf | 2 +- h5bp/ssl/certificate_files.conf | 2 +- h5bp/ssl/ocsp_stapling.conf | 4 ++-- h5bp/web_performance/cache-file-descriptors.conf | 6 +++--- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/conf.d/.default.conf b/conf.d/.default.conf index a5fdcef..c511937 100644 --- a/conf.d/.default.conf +++ b/conf.d/.default.conf @@ -4,7 +4,7 @@ # # Drop requests for unknown hosts # -# If no default server is defined, nginx will use the first found server. +# If no default server is defined, Nginx will use the first found server. # To prevent host header attacks, or other potential problems when an unknown # servername is used in a request, it's recommended to drop the request # returning 444 "no response". diff --git a/conf.d/no-ssl.default.conf b/conf.d/no-ssl.default.conf index f8cdc70..66bca2b 100644 --- a/conf.d/no-ssl.default.conf +++ b/conf.d/no-ssl.default.conf @@ -4,7 +4,7 @@ # # Drop requests for unknown hosts # -# If no default server is defined, nginx will use the first found server. +# If no default server is defined, Nginx will use the first found server. # To prevent host header attacks, or other potential problems when an unknown # servername is used in a request, it's recommended to drop the request # returning 444 "no response". diff --git a/conf.d/templates/example.com.conf b/conf.d/templates/example.com.conf index 811c730..6c88afa 100644 --- a/conf.d/templates/example.com.conf +++ b/conf.d/templates/example.com.conf @@ -2,8 +2,8 @@ # | Config file for example.com host | # ---------------------------------------------------------------------- # -# This file is a template for a nginx server. -# This nginx server listen the `example.com` host and handle requests. +# This file is a template for an Nginx server. +# This Nginx server listens for the `example.com` host and handles requests. # Replace `example.com` with your hostname before enabling. # Choose between www and non-www, listen on the wrong one and redirect to diff --git a/conf.d/templates/no-ssl.example.com.conf b/conf.d/templates/no-ssl.example.com.conf index ed792b1..1268541 100644 --- a/conf.d/templates/no-ssl.example.com.conf +++ b/conf.d/templates/no-ssl.example.com.conf @@ -2,8 +2,8 @@ # | Config file for non-secure example.com host | # ---------------------------------------------------------------------- # -# This file is a template for a non-secure nginx server. -# This nginx server listen the `example.com` host and handle requests. +# This file is a template for a non-secure Nginx server. +# This Nginx server listens for the `example.com` host and handles requests. # Replace `example.com` with your hostname before enabling. # Choose between www and non-www, listen on the wrong one and redirect to diff --git a/h5bp/location/security_file_access.conf b/h5bp/location/security_file_access.conf index 9c3a8b0..31ac2b3 100644 --- a/h5bp/location/security_file_access.conf +++ b/h5bp/location/security_file_access.conf @@ -6,7 +6,7 @@ # the visible content from within the `/.well-known/` hidden directory. # # These types of files usually contain user preferences or the preserved -# state of an utility, and can include rather private places like, for +# state of a utility, and can include rather private places like, for # example, the `.git` or `.svn` directories. # # The `/.well-known/` directory represents the standard (RFC 5785) path diff --git a/h5bp/security/x-frame-options.conf b/h5bp/security/x-frame-options.conf index 6f93108..bc2e637 100644 --- a/h5bp/security/x-frame-options.conf +++ b/h5bp/security/x-frame-options.conf @@ -19,7 +19,7 @@ # users visit your website using a Google Image Search results page). # # Nonetheless, you should ensure that you send the `X-Frame-Options` -# header for all pages that allow a user to make a state changing +# header for all pages that allow a user to make a state-changing # operation (e.g: pages that contain one-click purchase links, checkout # or bank-transfer confirmation pages, pages that make permanent # configuration changes, etc.). diff --git a/h5bp/ssl/certificate_files.conf b/h5bp/ssl/certificate_files.conf index 45e2fbe..46abdf4 100644 --- a/h5bp/ssl/certificate_files.conf +++ b/h5bp/ssl/certificate_files.conf @@ -13,7 +13,7 @@ # https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_certificate # # (2) Intermediate certificate location if loaded certificate (1) does not -# contain intermediate certificate when enabling OCSP stanpling. +# contain intermediate certificate when enabling OCSP stapling. # # https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_trusted_certificate # diff --git a/h5bp/ssl/ocsp_stapling.conf b/h5bp/ssl/ocsp_stapling.conf index 07e21be..47138f6 100644 --- a/h5bp/ssl/ocsp_stapling.conf +++ b/h5bp/ssl/ocsp_stapling.conf @@ -4,8 +4,8 @@ # OCSP is a lightweight, only one record to help clients verify the # validity of the server certificate. -# OCSP stapling allow the server to send its cached OCSP record during -# the TLS handshake, whithout the need of 3rd party OCSP responder. +# OCSP stapling allows the server to send its cached OCSP record during +# the TLS handshake, without the need of 3rd party OCSP responder. # # https://wiki.mozilla.org/Security/Server_Side_TLS#OCSP_Stapling # https://tools.ietf.org/html/rfc6066#section-8 diff --git a/h5bp/web_performance/cache-file-descriptors.conf b/h5bp/web_performance/cache-file-descriptors.conf index 6549fad..6e3623e 100644 --- a/h5bp/web_performance/cache-file-descriptors.conf +++ b/h5bp/web_performance/cache-file-descriptors.conf @@ -2,16 +2,16 @@ # | Cache file-descriptors | # ---------------------------------------------------------------------- -# This tells nginx to cache open file handles, "not found" errors and +# This tells Nginx to cache open file handles, "not found" errors and # metadata about files and their permissions. # -# Based on these cached metadata, nginx can immediately begin sending +# Based on these cached metadata, Nginx can immediately begin sending # data when a popular file is requested, and will also know to # immediately send a 404 if a file is missing on disk, and so on. # # (!) It also means that the server won't react immediately to changes # on disk, which may be undesirable. -# As only metadata are cached, edited files may be troncated until +# As only metadata are cached, edited files may be truncated until # the cache is refreshed. # https://github.com/h5bp/server-configs-nginx/issues/203 #