Refactor remnawave-sub-page configuration (#167)

Update remnawave-sub-page configuration to new config method with traefik 3.1.7
This commit is contained in:
Ramedon
2025-10-02 17:43:37 +05:00
committed by GitHub
parent 49298e55fc
commit fdf1b55f0b

View File

@@ -397,22 +397,14 @@ Review the configuration below, look for yellow highlighted lines.
http:
routers:
remnawave-sub-page:
// highlight-next-line-yellow
rule: "Host(`SUBSCRIPTION_PAGE_DOMAIN`)"
entrypoints:
- http
middlewares:
- remnawave-sub-page-https-redirect
service: remnawave-sub-page
remnawave-sub-page-secure:
// highlight-next-line-yellow
rule: "Host(`SUBSCRIPTION_PAGE_DOMAIN`)"
entrypoints:
- https
middlewares:
tls:
certResolver: letsencrypt
middlewares:
- remnawave-sub-page-https-redirect
service: remnawave-sub-page
middlewares: