Setup basicauth

to use whilst we setup https and later proper auth
This commit is contained in:
2025-04-29 22:27:37 +10:00
parent 05771d891b
commit 8bb9fb18df
3 changed files with 19 additions and 10 deletions

View File

@@ -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`)"