Skip to content

Conversation

@maheshbhatiya73
Copy link
Member

  • Added enable-ssl command to install Let's Encrypt SSL certificate for a specific domain
  • Supports Apache and Nginx via auto-detection based on domain config files
  • Skips SSL install for Caddy (since it handles SSL automatically)
  • Introduced reusable utility function DetectServerType(domain string) in internal/utils.go
  • Updated renew-ssl and enable-ssl to use shared server detection

This improves modularity and avoids duplication while supporting on-demand SSL activation.

- Added `enable-ssl` command to install Let's Encrypt SSL certificate for a specific domain
- Supports Apache and Nginx via auto-detection based on domain config files
- Skips SSL install for Caddy (since it handles SSL automatically)
- Introduced reusable utility function `DetectServerType(domain string)` in internal/utils.go
- Updated `renew-ssl` and `enable-ssl` to use shared server detection

This improves modularity and avoids duplication while supporting on-demand SSL activation.
@maheshbhatiya73 maheshbhatiya73 merged commit b098caf into main Jun 27, 2025
1 check passed
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.

2 participants