Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Commit d3455fb

Browse files
committed
[Fix]: SSL cert for self-signed and letsencrypt for caddy
1 parent fd2e152 commit d3455fb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,8 +846,11 @@ main() {
846846
update_caddy_config
847847

848848
# Generate SSL certificates if needed
849+
# Note: When using self-signed, Caddy handles certificate generation with 'tls internal'
850+
# The generate_self_signed_ssl function is available but not needed for Caddy setup
849851
if [[ "$USE_HTTPS" == true && "$SSL_TYPE" == "self-signed" ]]; then
850-
generate_self_signed_ssl
852+
print_info "Using Caddy's internal certificate generation (tls internal)"
853+
print_info "Certificates will be generated automatically when containers start"
851854
fi
852855

853856
# Deploy application

0 commit comments

Comments
 (0)