Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix misc typos in comments #228

Merged
merged 2 commits into from
May 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conf.d/.default.conf
Original file line number Diff line number Diff line change
@@ -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".
2 changes: 1 addition & 1 deletion conf.d/no-ssl.default.conf
Original file line number Diff line number Diff line change
@@ -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".
4 changes: 2 additions & 2 deletions conf.d/templates/example.com.conf
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions conf.d/templates/no-ssl.example.com.conf
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion h5bp/location/security_file_access.conf
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion h5bp/security/x-frame-options.conf
Original file line number Diff line number Diff line change
@@ -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.).
2 changes: 1 addition & 1 deletion h5bp/ssl/certificate_files.conf
Original file line number Diff line number Diff line change
@@ -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
#
4 changes: 2 additions & 2 deletions h5bp/ssl/ocsp_stapling.conf
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions h5bp/web_performance/cache-file-descriptors.conf
Original file line number Diff line number Diff line change
@@ -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
#