Skip to content

feat(redirects): check for SSL cert/key before adding redirects#455

Merged
mrrobot47 merged 2 commits intoEasyEngine:developfrom
mrrobot47:feature/redirect-only-if-cert-key-exist
Sep 26, 2025
Merged

feat(redirects): check for SSL cert/key before adding redirects#455
mrrobot47 merged 2 commits intoEasyEngine:developfrom
mrrobot47:feature/redirect-only-if-cert-key-exist

Conversation

@mrrobot47
Copy link
Copy Markdown
Member

This pull request adds a check to ensure that SSL certificate and key files exist before generating redirect configurations in the add_site_redirects function. If the required files are missing, it logs a message and skips creating the redirect configuration. This helps prevent configuration errors due to missing SSL files.

SSL Certificate Verification and Logging:

  • Added logic to check for the existence of the SSL certificate (.crt) and key (.key) files for the target site before generating the redirect configuration in add_site_redirects. If the files are missing, the function logs a message and skips creating the redirect config. (src/helper/site-utils.php, [1] [2]

@mrrobot47 mrrobot47 merged commit 02de049 into EasyEngine:develop Sep 26, 2025
1 of 5 checks passed
@mrrobot47 mrrobot47 deleted the feature/redirect-only-if-cert-key-exist branch September 26, 2025 17:41
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.

1 participant