GithubHelp home page GithubHelp logo

Comments (5)

j0nnymoe avatar j0nnymoe commented on May 31, 2024 7

EXTRA_DOMAINS=*.server1.example.com,*.server2.example.com should do it.

from docker-swag.

skylord123 avatar skylord123 commented on May 31, 2024 1

It would be great to be able to specify *.*,* for the sub-domains so you cover all first and second level sub-domains (or however deep the user wants to go).

from docker-swag.

Ozzah avatar Ozzah commented on May 31, 2024 1

So if we don't necessarily need *.*.example.com but we want, say, *.example.com and *.server1.example.com and *.server2.example.com, then how can that be achieved?

I just set up:

 - URL=example.com
 - EXTRA_DOMAINS=server1.example.com,server2.example.com
 - SUBDOMAINS=wildcard
 - VALIDATION=dns
 - DNSPLUGIN=cloudflare

and I got the following error:

Requesting a certificate for *.example.com and 2 more domains
An unexpected error occurred:
The request message was malformed :: Error creating new order :: Domain name "server1.example.com" is redundant with a wildcard domain in the same request. Remove one or the other from the certificate request.

from docker-swag.

Roxedus avatar Roxedus commented on May 31, 2024

This is not our restriction, it is letsencrypts restriction, its not something we can support.

You want to use the extra_domains variable to escape globbing and use * if you want *.test.example.com. This is why our readme explicit call out that you need to use "wildcard" as the subdomain.

from docker-swag.

skylord123 avatar skylord123 commented on May 31, 2024

Ah you are right. *.*.example.com is not valid. I should have known better.

I also missed the EXTRA_DOMAINS variable. For some reason I thought it was only for top-level domains.

It may be a good idea to explain that wildcard doesn't support sub-sub-domains in the readme and that those need to be defined separately in the EXTRA_DOMAINS.

from docker-swag.

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.