You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/knowledge-base/proxy/traefik/wildcard-certs.md
+24-5Lines changed: 24 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,14 @@ description: "A guide to configure wildcard subdomain redirects (with Traefik wi
14
14
::: tip Tip
15
15
Each provider needs environment variables to be set in the Traefik configuration. You can find the required variables in the [official documentation](https://doc.traefik.io/traefik/https/acme/#providers).
16
16
17
-
18
17
If you need fine-grained token, like with [Cloudflare](https://go-acme.github.io/lego/dns/cloudflare/), check the provider configurations.
19
18
:::
20
19
21
-
22
20
## Configuration
23
21
24
22
1. Setup your wildcard subdomain DNS records, `*.coolify.io`.
25
23
2. Go to your Proxy settings (Servers / Proxy menu) and add the following configuration based on your [providers](https://doc.traefik.io/traefik/https/acme/#providers). The example will use `Hetzner` as a provider.
26
24
27
-
28
25
```bash
29
26
version: '3.8'
30
27
networks:
@@ -120,6 +117,26 @@ Redirect all subdomains to one application. You can use this option if you want
120
117
- In your application, leave the FQDN configuration `empty`.
> `traefik.http.routers.<unique_router_name_https>.tls.certresolver` should be the same as your `certresolver` name in Traefik proxy configuration, by default `letsencrypt`.
139
158
140
159
> `traefik.http.services.<unique_service_name>.loadbalancer.server.port` should be the same as your application listens on. Port 80 if you use a static deployment.
141
160
142
161
::: warning Caution
143
-
You cannot use both configurations (Normal & SaaS) at the same time on one
144
-
server.
162
+
You cannot use both configurations (Normal & SaaS) at the same time on one
0 commit comments