From eee9d00255600c1927db6ff0bf441e68d1377aa6 Mon Sep 17 00:00:00 2001 From: Ben Gadbois Date: Tue, 10 Jan 2017 13:03:50 -0800 Subject: [PATCH] Fix small misspellings --- caddy.go | 2 +- caddyhttp/httpserver/condition.go | 2 +- caddytls/user.go | 2 +- dist/init/linux-systemd/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/caddy.go b/caddy.go index 39a3358e..1ae341b9 100644 --- a/caddy.go +++ b/caddy.go @@ -750,7 +750,7 @@ func Upgrade() error { } // IsUpgrade returns true if this process is part of an upgrade -// where a parent caddy process spawned this one to ugprade +// where a parent caddy process spawned this one to upgrade // the binary. func IsUpgrade() bool { mu.Lock() diff --git a/caddyhttp/httpserver/condition.go b/caddyhttp/httpserver/condition.go index 233a23ee..39ea5a7c 100644 --- a/caddyhttp/httpserver/condition.go +++ b/caddyhttp/httpserver/condition.go @@ -198,7 +198,7 @@ func (m IfMatcher) Or(r *http.Request) bool { // If true, remaining arguments in the dispinser are cleard to keep the dispenser valid for use. func IfMatcherKeyword(c *caddy.Controller) bool { if c.Val() == "if" || c.Val() == "if_op" { - // clear remainig args + // clear remaining args c.RemainingArgs() return true } diff --git a/caddytls/user.go b/caddytls/user.go index 30f3ffeb..4fa89aaa 100644 --- a/caddytls/user.go +++ b/caddytls/user.go @@ -171,6 +171,6 @@ var stdin = io.ReadWriter(os.Stdin) // address was not provided; default 'username' if you will. const emptyEmail = "default" -// TODO: After Boulder implements the 'meta' field of the directoy, +// TODO: After Boulder implements the 'meta' field of the directory, // we can get this link dynamically. const saURL = "https://acme-v01.api.letsencrypt.org/terms" diff --git a/dist/init/linux-systemd/README.md b/dist/init/linux-systemd/README.md index cd1a0818..621acbd4 100644 --- a/dist/init/linux-systemd/README.md +++ b/dist/init/linux-systemd/README.md @@ -78,7 +78,7 @@ sudo chown -R www-data:www-data /var/www/example.com sudo chmod -R 555 /var/www/example.com ``` -You'll need to explicity configure caddy to serve the site from this location by adding +You'll need to explicitly configure caddy to serve the site from this location by adding the following to your Caddyfile if you haven't already: ```