18 lines
465 B
Go Template
18 lines
465 B
Go Template
---
|
|
http:
|
|
routers:
|
|
root-domain:
|
|
entryPoints:
|
|
- "https"
|
|
rule: "Host(`{{ .RootDomain }}`)"
|
|
middlewares:
|
|
- "redirect-root-to-freeflow"
|
|
service: noop@internal
|
|
tls:
|
|
certResolver: resolver
|
|
middlewares:
|
|
redirect-root-to-freeflow:
|
|
redirectRegex:
|
|
regex: "^(.*)"
|
|
replacement: "https://{{ .GoToSocial.Subdomain }}.{{ .RootDomain }}/@{{ .GoToSocial.LandingPageUser }}"
|
|
permanent: true
|