Add Caddy example
parent
fe82759ac5
commit
f6710e558d
|
@ -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`:
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue