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

@@ -40,7 +40,7 @@
traefik.enable: 'true'
traefik.port: '{{intport}}'
traefik.frontend.auth.forward.address: '{{gauth}}'
traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}}{{tldset}}{{cname}}'
traefik.frontend.headers.SSLHost: '{{domain.stdout}}'
traefik.frontend.headers.SSLRedirect: 'true'
traefik.frontend.headers.STSIncludeSubdomains: 'true'