mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
Fix small misspellings
This commit is contained in:
parent
6a84d9392e
commit
eee9d00255
4 changed files with 4 additions and 4 deletions
2
caddy.go
2
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()
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
2
dist/init/linux-systemd/README.md
vendored
2
dist/init/linux-systemd/README.md
vendored
|
@ -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:
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue