spetrillo
(Steven Petrillo)
July 18, 2024, 6:34pm
1
Hello all,
I am using Caddy as a plugin to OPNsense. In the Services/Caddy Web Server/Reverse Proxy/Domains section I have added my domain without a *. Is that ok or should I add the *? Second with just the domain added should I use the subdomains section to call out each service name?
Thanks,
Steve
Monviech
(Monviech)
July 18, 2024, 7:59pm
2
If you don’t plan to use the DNS-01 challenge and a wildcard certificate, just create all your domains as base domains and do not use subdomains.
e.g.
example.com
sub1.example.com
sub2.example.com
Then for each of them create a matching handler that will create the reverse proxy to your upstream destination.
2 Likes
spetrillo
(Steven Petrillo)
July 18, 2024, 8:39pm
3
In this use case I will have to use DNS-01 since i have a DDNS setup.
Monviech
(Monviech)
July 19, 2024, 4:04am
4
DNS-01 challenge is for getting certificates. It has nothing to do with dynamic DNS.
Everything is explained in detail here:
https://docs.opnsense.org/manual/how-tos/caddy.html
Check out the dynamic DNS explanation in these docs.
1 Like
system
(system)
Closed
August 18, 2024, 4:05am
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.