Skip to content

Commit d6f3bbc

Browse files
committed
doc: update tls Caddy directive set in tls.md
This configuration will not result in a certificate usage error for host php:80.
1 parent 1b01814 commit d6f3bbc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/tls.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ For instance, to use self-signed certificates created with [mkcert](https://gith
3030
```diff
3131
php:
3232
environment:
33-
+ CADDY_SERVER_EXTRA_DIRECTIVES: "tls /etc/caddy/certs/tls.pem /etc/caddy/certs/tls.key"
33+
+ CADDY_EXTRA_CONFIG: |
34+
+ https:// {
35+
+ tls /etc/caddy/certs/tls.pem /etc/caddy/certs/tls.key
36+
+ }
3437
# ...
3538
volumes:
3639
+ - ./frankenphp/certs:/etc/caddy/certs:ro

0 commit comments

Comments
 (0)