mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-06 05:22:09 +08:00
Add Caddy example
@@ -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`:
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user