mirror of
https://github.com/remnawave/panel.git
synced 2026-04-27 02:06:26 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user