Skip to content

Enhance Docker Certbot Integration and nginx Configuration#8

Open
Nave-Cohen wants to merge 3 commits into
olivierdalang:masterfrom
Nave-Cohen:master
Open

Enhance Docker Certbot Integration and nginx Configuration#8
Nave-Cohen wants to merge 3 commits into
olivierdalang:masterfrom
Nave-Cohen:master

Conversation

@Nave-Cohen

Copy link
Copy Markdown

Overview

This pull request enhances Docker Certbot integration and nginx configuration for improved SSL certificate management and web server setup.

Changes Made

  • Docker Certbot Integration:

    • Updated scripts to support multiple domains.
    • Implemented domain-specific directories for self-signed certificates.
    • Ensured compatibility with single Nginx container setups.
  • nginx Configuration:

    • Added instructions in README for configuring nginx with SSL certificates.
    • Clarified usage of the first domain from the DOMAINS variable in examples.

Purpose

The updates aim to streamline SSL certificate management and nginx setup, making deploying and managing secure web services easier with Docker and Certbot.

Nave-Cohen and others added 3 commits June 30, 2024 11:35
…directories

- Modify the script to generate and store self-signed certificates in domain-specific directories (`/etc/letsencrypt/$DOMAIN_MAIN/self-signed/`).
- Update pre_hook to create symbolic links to domain-specific self-signed certificates.
- Update deploy_hook to create symbolic links to domain-specific actual certificates.
- Ensure compatibility with a single Nginx container mounting `/etc/letsencrypt` volume for serving multiple domains.
- Prevent overwriting and conflicts by managing certificates independently for each domain.

This change enhances the flexibility and robustness of the Certbot Docker setup, allowing for reliable and isolated management of certificates for multiple domains, ensuring that each domain's certificates are handled without conflicts.
- Removed the pinned version dependency for curl in the build configuration.
- Previous version caused build failures due to compatibility or installation issues.
- Updating to a more flexible version to ensure successful builds.

This change resolves build errors encountered due to the specific version dependency of curl, ensuring smoother and reliable build processes.
Updated examples to emphasize using the first domain from the DOMAIN variable.
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