Add Caddy example

master
Mike Parks 2022-05-15 23:57:25 -06:00
parent fe82759ac5
commit f6710e558d
1 changed files with 9 additions and 0 deletions

@ -30,6 +30,15 @@ Configure your webserver to respond statelessly to challenges for a given accoun
} }
} }
``` ```
### CADDY
Add something similar to your `Caddyfile`:
```
example.com {
@achallenge {
path_regexp ch ^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$
}
respond @achallenge "{re.ch.1}.6fXAG9VyG0IahirPEU2ZerUtItW2DHzDzD9wZaEKpqd"
```
### APACHE ### APACHE
Add something similar to your `httpd.conf`: Add something similar to your `httpd.conf`:
``` ```