Comments (5)
EXTRA_DOMAINS=*.server1.example.com,*.server2.example.com
should do it.
from docker-swag.
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.
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.
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.
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)
- [BUG] SWAG dashboard: blank page HOT 1
- [FEAT] Add Tailscale as a DNS Plugin HOT 3
- [FEAT] install njs scripting language HOT 5
- [FEAT] Disable Copying Defaults/Samples Via Environment Variable HOT 2
- [BUG] no more logrotate with access.log HOT 3
- [FEAT] ngx_http_v3_module HOT 4
- [FEAT] Run swag on testing (development) environment HOT 5
- [FEAT] Date filtering for the Dashboard HOT 2
- [BUG] Dashboard - Cleaning up resources... HOT 3
- [BUG] No ASN stats HOT 2
- [FEAT] Add Dynu back to SWAG HOT 1
- DNSPLUGIN for hostido.pl HOT 10
- [BUG] 2.10.0 - Hangs at Please set the DNSPLUGIN variable to one of the following: HOT 9
- [FEAT] add ddns support HOT 2
- Suchen Sie die letzte Version mit php 7.4. Vorzugsweise Version 7.4.33 HOT 3
- [BUG] directadmin plugin: ValueError: too many values to unpack HOT 13
- [BUG] Swag-Cloudflare-STUCK HOT 8
- [BUG] IPs are banned but can still access the server/apps HOT 3
- [FEAT] Specify RSA Key Size HOT 3
- [BUG] fail2ban-client restart triggers loop HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-swag.