diff --git a/self-host/advanced/wild-card-domains.mdx b/self-host/advanced/wild-card-domains.mdx index 5b02888..b1825eb 100644 --- a/self-host/advanced/wild-card-domains.mdx +++ b/self-host/advanced/wild-card-domains.mdx @@ -61,7 +61,14 @@ The [rate limits](https://letsencrypt.org/docs/rate-limits/) for Let's Encrypt a - Set the `prefer_wildcard_cert` flag to `true` in the Pangolin configuration file for your domain. Or update it on the Domains page in the Pangolin dashboard. + Set the `prefer_wildcard_cert` flag to `true` in the Pangolin configuration file for your domain. This is also configurable in the Pangolin dashboard (once restarted). + +```yaml title="config.yml" highlight={4} + domains: + domain1: + base_domain: "example.com" + prefer_wildcard_cert: true + ``` @@ -130,7 +137,7 @@ This is the default config generated by the installer. This is shown here for re Add the domain and wildcard domain to the domains section of the next (front end) router in the dynamic config. This tells Traefik to generate a wildcard certificate for the base domain and all subdomains. - ```yaml title="dynamic_config.yml" highlight={9-12} + ```yaml title="dynamic_config.yml" highlight={8-12} next-router: rule: "Host(`pangolin.example.com`) && !PathPrefix(`/api/v1`)" service: next-service