Use endpoint middleware rather than hacky router
This commit is contained in:
@@ -5,12 +5,3 @@ http:
|
||||
scheme: https
|
||||
compress:
|
||||
compress: {}
|
||||
|
||||
routers:
|
||||
tls-redirect:
|
||||
service: ping@internal
|
||||
rule: PathPrefix(`/`)
|
||||
entryPoints:
|
||||
- web
|
||||
middlewares:
|
||||
- tls-redirect
|
||||
|
Reference in New Issue
Block a user