Skip to content

Commit

Permalink
Fix misc typos in comments (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
petecooper authored and LeoColomb committed May 14, 2019
1 parent e64b4a6 commit e300321
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion conf.d/.default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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".
Expand Down
2 changes: 1 addition & 1 deletion conf.d/no-ssl.default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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".
Expand Down
4 changes: 2 additions & 2 deletions conf.d/templates/example.com.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions conf.d/templates/no-ssl.example.com.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion h5bp/location/security_file_access.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion h5bp/security/x-frame-options.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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.).
Expand Down
2 changes: 1 addition & 1 deletion h5bp/ssl/certificate_files.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down
4 changes: 2 additions & 2 deletions h5bp/ssl/ocsp_stapling.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions h5bp/web_performance/cache-file-descriptors.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit e300321

Please sign in to comment.