init commit
This commit is contained in:
19
3.Traefik/data/custom/allow-redirect.yml
Normal file
19
3.Traefik/data/custom/allow-redirect.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
http:
|
||||
routers:
|
||||
redirs:
|
||||
rule: hostregexp(`{host:.+}`)
|
||||
entrypoints:
|
||||
- http
|
||||
middlewares:
|
||||
- redirect-to-https
|
||||
service: noop
|
||||
middlewares:
|
||||
redirect-to-https:
|
||||
redirectScheme:
|
||||
scheme: https
|
||||
permanent: false
|
||||
services:
|
||||
noop:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://127.0.0.1"
|
Reference in New Issue
Block a user