Skip to content

Commit

Permalink
Remove redundant tls key paths in Caddyfile
Browse files Browse the repository at this point in the history
Removed the duplicated tls key paths from Caddyfile. A cleaner, simplified Caddyfile can prevent confusion and make the configuration comprehensible for other developers. These paths are not necessary to be stated twice. By removing these duplicates, we maintain the maintainability and readability of our code base.
  • Loading branch information
Spomky committed Dec 2, 2023
1 parent 7f3a641 commit ec7c753
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frankenphp/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@


{$SERVER_NAME:localhost} {
#tls /etc/caddy/certs/tls.pem /etc/caddy/certs/tls.key
#tls /etc/caddy/certs/tls.pem /etc/caddy/certs/tls.key {
#tls {
# client_auth {
# mode verify_if_given
# trusted_ca_cert_file /etc/caddy/certs/ca.pem
Expand Down

0 comments on commit ec7c753

Please sign in to comment.