You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
647 B

[http.middlewares.simpleAuth.basicAuth]
users = [
"admin:$apr1$0SO.uwJH$mY8Uh.tn/3iHpAKWrqcya."
]
[http.routers.api]
rule = "Host(`monitor.erni.me`)"
entrypoints = ["websecure"]
middlewares = ["simpleAuth"]
service = "api@internal"
[http.routers.api.tls]
certResolver = "lets-encrypt"
# [tcp.routers]
# [tcp.routers.ssh]
# entryPoints = ["ssh"]
# rule = "HostSNI(`git.erni.me`)" # <~~ this one will terminal any ssh request from putty
# service = "ssh"
# [tcp.services]
# [tcp.services.ssh.loadBalancer]
# [[tcp.services.ssh.loadBalancer.servers]]
# address = "127.0.0.1:22"