Skip to content

Commit

Permalink
feat(traefik): use wildcard certs for extra hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
netr0m committed Oct 20, 2023
1 parent cef2ebf commit 0bbb476
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/etc/traefik/config/http.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ http:
rule: Host(`{{ service.subdomain | default(service.shortname) }}.{{ svc_domain }}`)
tls:
certResolver: {{ svc_traefik_dns_challenge_provider }}
domains:
- main: {{ svc_domain }}
sans:
- "*.{{ svc_domain }}"

{% endfor %}
middlewares: {{ svc_traefik_middlewares_default | combine(svc_traefik_middlewares | default({})) | combine(svc_traefik_middlewares_extra | default({})) }}
Expand Down

0 comments on commit 0bbb476

Please sign in to comment.