saltyorg / Saltbox

Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
https://docs.saltbox.dev
GNU General Public License v3.0
633 stars 69 forks source link

Adapt Traefik templating to support multiple subdomains #183

Closed owine closed 6 months ago

owine commented 9 months ago

Initial thought was to detect root domain or www subdomain and automatically add the other but expanding that to support a list of subdomains would be a nice potential feature.

wordpress_web_subdomains:
  - "{{ wordpress_name }}"
  - "thething"
  - "www"

or

  wordpress_web_fqdn:
  - "{{ wordpress_web_subdomain }}.{{ wordpress_web_domain }}"
  - "www.{{ wordpress_web_domain }}"
  - "domain2.tld"
saltydk commented 6 months ago

I forget what this was for, just Traefik? If so it is probably solved with traefik_host_override since you can override the Host string to whatever you want. Or was this wanting CF integration?