1
0
Fork 0

Entry point redirection and default routers configuration

Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
This commit is contained in:
Traefiker Bot 2020-03-05 12:46:05 +01:00 committed by GitHub
parent 93a7af270f
commit a6040c623b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 1016 additions and 126 deletions

View file

@ -41,7 +41,8 @@
},
"services": {
"api": {},
"dashboard": {}
"dashboard": {},
"noop": {}
}
},
"tcp": {},

View file

@ -11,7 +11,8 @@
}
},
"services": {
"api": {}
"api": {},
"noop": {}
}
},
"tcp": {},

View file

@ -2,7 +2,8 @@
"http": {
"services": {
"api": {},
"dashboard": {}
"dashboard": {},
"noop": {}
}
},
"tcp": {},

View file

@ -1,7 +1,8 @@
{
"http": {
"services": {
"api": {}
"api": {},
"noop": {}
}
},
"tcp": {},

View file

@ -74,6 +74,7 @@
"services": {
"api": {},
"dashboard": {},
"noop": {},
"ping": {},
"prometheus": {},
"rest": {}

View file

@ -3,6 +3,7 @@
"services": {
"api": {},
"dashboard": {},
"noop": {},
"ping": {},
"prometheus": {},
"rest": {}

View file

@ -0,0 +1,36 @@
{
"http": {
"services": {
"noop": {}
},
"models": {
"websecure": {
"middlewares": [
"test"
],
"tls": {
"options": "opt",
"certResolver": "le",
"domains": [
{
"main": "mainA",
"sans": [
"sanA1",
"sanA2"
]
},
{
"main": "mainB",
"sans": [
"sanB1",
"sanB2"
]
}
]
}
}
}
},
"tcp": {},
"tls": {}
}

View file

@ -1,6 +1,7 @@
{
"http": {
"services": {
"noop": {},
"ping": {}
}
},

View file

@ -11,6 +11,7 @@
}
},
"services": {
"noop": {},
"ping": {}
}
},

View file

@ -1,6 +1,7 @@
{
"http": {
"services": {
"noop": {},
"prometheus": {}
}
},

View file

@ -11,6 +11,7 @@
}
},
"services": {
"noop": {},
"prometheus": {}
}
},

View file

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

View file

@ -11,6 +11,7 @@
}
},
"services": {
"noop": {},
"rest": {}
}
},

View file

@ -1,6 +1,7 @@
{
"http": {
"services": {
"noop": {},
"rest": {}
}
},