Giter VIP home page Giter VIP logo

Comments (3)

scottmuc avatar scottmuc commented on August 20, 2024

Ended up with the config:

server {
    server_name www.goodenoughmoney.com;

    listen 443 ssl;
    ssl_certificate /etc/letsencrypt/live/www.goodenoughmoney.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/www.goodenoughmoney.com/privkey.pem;

    index index.html index.htm;
    root /opt/goodenoughmoney;
}

server {
    server_name www.goodenoughmoney.com goodenoughmoney.com;

    listen 80;

    # if not a certbot challenge redirect to the https listener
    # and ensure the www.goodenoughmoney.com server_name
    if ($request_uri != /.well-known/acme-challenge/testfile) {
      return 301 https://www.goodenoughmoney.com$request_uri;
    }

    # only in the context of a certbot challenge
    root /opt/goodenoughmoney;
}

from goodenoughmoney.

scottmuc avatar scottmuc commented on August 20, 2024

Command to install and renew certificate: sudo certbot certonly --webroot -w /opt/goodenoughmoney -d www.goodenoughmoney.com -m "[email protected]"

from goodenoughmoney.

scottmuc avatar scottmuc commented on August 20, 2024

Also explored certbot renew and observed the following error... something for another day.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/www.goodenoughmoney.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for www.goodenoughmoney.com
Cleaning up challenges
Attempting to renew cert (www.goodenoughmoney.com) from /etc/letsencrypt/renewal/www.goodenoughmoney.com.conf produced an unexpected error: Missing command line flag or config entry for this setting:
Input the webroot for www.goodenoughmoney.com:. Skipping.

from goodenoughmoney.

Related Issues (1)

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.