Support custom subdomains and port

This commit is contained in:
LooseSeal2
2019-07-20 04:13:19 -07:00
parent 208a79f187
commit 9450034979
75 changed files with 104 additions and 75 deletions

View File

@@ -39,7 +39,7 @@
traefik.tags: 'frontend'
traefik.frontend.passHostHeader: 'true'
traefik.backend: '{{pgrole}}'
traefik.admin.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
traefik.admin.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}}{{tldset}}{{cname}}'
traefik.admin.port: '{{intport5}}'
traefik.admin.protocol: 'https'
traefik.frontend.headers.SSLRedirect: 'true'