Skip to content

When AUTO_LETS_ENCRYPT == "no" the content should be empty #2456

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

Michal-Koeckeis-Fresel
Copy link

When AUTO_LETS_ENCRYPT == "no" the content should be empty

When AUTO_LETS_ENCRYPT == "no" the content should be empty
@TheophileDiot TheophileDiot requested a review from Copilot June 27, 2025 08:01
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the conditional configuration for Let's Encrypt challenge handling so that the content is rendered only when AUTO_LETS_ENCRYPT is set to "yes" and LETS_ENCRYPT_PASSTHROUGH is "no".

  • Updated condition in both server-http and default-server-http configuration files
  • Ensures that when AUTO_LETS_ENCRYPT is "no", no challenge configuration is rendered

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/common/core/letsencrypt/confs/server-http/lets-encrypt.conf Updated the conditional to include AUTO_LETS_ENCRYPT check
src/common/core/letsencrypt/confs/default-server-http/lets-encrypt.conf Updated the conditional to include AUTO_LETS_ENCRYPT check
Comments suppressed due to low confidence (2)

src/common/core/letsencrypt/confs/server-http/lets-encrypt.conf:1

  • Consider adding a comment to explain the new condition and its relation to AUTO_LETS_ENCRYPT for clarity to future maintainers.
{% if AUTO_LETS_ENCRYPT == "yes" and LETS_ENCRYPT_PASSTHROUGH == "no" %}

@Michal-Koeckeis-Fresel
Copy link
Author

Michal-Koeckeis-Fresel commented Jun 28, 2025

Closed in a hurry before code was commited to dev branch

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