Skip to content

Conversation

@lucasmirloup
Copy link
Member

@lucasmirloup lucasmirloup commented Sep 16, 2024

@lucasmirloup lucasmirloup requested a review from thislg September 16, 2024 16:13
@lucasmirloup lucasmirloup self-assigned this Sep 16, 2024
Copy link
Contributor

@aegypius aegypius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise:@lucasmirloup This is a great simplification. I think, I might have gone another way with the certificate storage (keep a volume, instead of writing a file to the system) but maybe this can be improved later by using a symlink to the volume instead of a copy

This approach will help caddy to renew its certificate without human intervention in the future.

setup.sh Outdated
docker compose cp proxy:/usr/bin/caddy /tmp/caddy 2>/dev/null

rm /tmp/caddy
/tmp/caddy trust
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: ‏Why removing the untrust before trusting a new one. It's was here to cleanup intermediary certificates ?

@lucasmirloup lucasmirloup force-pushed the fix/caddy-tls-certificates-trust branch 3 times, most recently from db8226f to 88676f6 Compare May 22, 2025 08:40
@thislg thislg force-pushed the fix/caddy-tls-certificates-trust branch from 88676f6 to 92fd235 Compare November 7, 2025 13:30
@thislg thislg force-pushed the fix/caddy-tls-certificates-trust branch from 017d29f to 1b62e0d Compare November 7, 2025 14:23
@thislg thislg merged commit 004435e into main Nov 7, 2025
1 check passed
@thislg thislg deleted the fix/caddy-tls-certificates-trust branch November 7, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants