traefik/pkg/provider/traefik/fixtures/redirection.json
2024-01-23 11:34:05 +01:00

30 lines
538 B
JSON

{
"http": {
"routers": {
"web-to-websecure": {
"entryPoints": [
"web"
],
"middlewares": [
"redirect-web-to-websecure"
],
"service": "noop@internal",
"rule": "HostRegexp(`^.+$`)"
}
},
"services": {
"noop": {}
},
"middlewares": {
"redirect-web-to-websecure": {
"redirectScheme": {
"scheme": "https",
"port": "443",
"permanent": true
}
}
}
},
"tcp": {},
"tls": {}
}