Code Monkey home page Code Monkey logo

Comments (4)

DylanPiercey avatar DylanPiercey commented on May 24, 2024

Can you paste your full config?

from auto-sni.

pietrovismara avatar pietrovismara commented on May 24, 2024

Here it is:

{
    email: "[email protected]", // Emailed when certificates expire.
    agreeTos: true, // Required for letsencrypt.
    debug: false, // Add console messages and uses staging LetsEncrypt server. (Disable in production)
    domains: ["example.com", "www.example.com"], // List of accepted domain names. (You can use nested arrays to register bundles with LE).
    forceSSL: false, // Make this false to disable auto http->https redirects (default true).
    ports: {
        http: 80, // Optionally override the default http port.
        https: 443 // // Optionally override the default https port.
    }
}

from auto-sni.

DylanPiercey avatar DylanPiercey commented on May 24, 2024

Can you try changing domains to:

domains: [["example.com", "www.example.com"]]

This will bundle the two domains together. Also can you confirm there any no error messages and that the server is reachable at these domain names using a regular http request?

I notice you have forceSSL off, this will stop redirecting the user to the https version of the site - just want to make sure that:

a) This was intended to be on and
b) You can access the http site.

from auto-sni.

DylanPiercey avatar DylanPiercey commented on May 24, 2024

Going to close due to inactivity. Feel free to reply if this didn't solve your issue.

from auto-sni.

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.