Setup basicauth
to use whilst we setup https and later proper auth
This commit is contained in:
@@ -47,6 +47,9 @@ job "traefik" {
|
||||
entryPoints:
|
||||
http:
|
||||
address: ":80"
|
||||
http:
|
||||
middlewares:
|
||||
- auth
|
||||
traefik:
|
||||
address: ":8081"
|
||||
|
||||
@@ -73,6 +76,12 @@ EOF
|
||||
template {
|
||||
data = <<EOF
|
||||
http:
|
||||
middlewares:
|
||||
auth:
|
||||
basicAuth:
|
||||
users:
|
||||
- "othrayte:$apr1$7PqVUfNm$Go/SNo6y331KYDnQdOLIt/"
|
||||
|
||||
routers:
|
||||
nomadui:
|
||||
rule: "Host(`nomad.othrayte.one`)"
|
||||
|
||||
Reference in New Issue
Block a user