Git Product home page Git Product logo

Comments (2)

JonasAlfredsson avatar JonasAlfredsson commented on May 13, 2024

Hi theautomation,

It is nothing I have tried myself, but I don't think there should be too difficult to do.
I believe that by default certbot starts in "standalone" mode, which means that it will try to start a webserver on port 80, but that is occupied by Nginx in this image. Take a look on how the scripts makes a "webroot" request instead, which hands over the webserver responsibility to Nginx instead. By doing that I think it should be possible to ask for any cert you want.

from docker-nginx-certbot.

theautomation avatar theautomation commented on May 13, 2024

Hi JonasAlfredsson,

thanks for your reply, i have used a minimal config.conf file to get a certificate so i think this would be the best way to get a certificate without reverse proxy. When the certificate is there i can even delete the config file and the certificate renewal continues.

server {
server_name mail.theautomation.nl;
ssl_certificate /etc/letsencrypt/live/mail.theautomation.nl/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mail.theautomation.nl/privkey.pem;
}

from docker-nginx-certbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.