2 Commits

Author SHA1 Message Date
Alfredo Di Stasio 1470b49ed9 removed useless informations 2026-06-30 14:48:19 +02:00
Alfredo Di Stasio 27b3b7624f disabled unused config file 2026-06-30 11:05:12 +02:00
2 changed files with 11 additions and 12 deletions
+11 -12
View File
@@ -18,18 +18,18 @@ Add or edit one file per site under `config/dynamic/`. For example, `config/dyna
```yaml
http:
routers:
lab-younerd-http:
lab-yourdomain-http:
entryPoints:
- web
rule: "Host(`lab.younerd.org`)"
service: lab-younerd-http
rule: "Host(`lab.yourdomain.tld`)"
service: lab-yourdomain-http
services:
lab-younerd-http:
lab-yourdomain-http:
loadBalancer:
healthCheck:
path: "/"
hostname: "lab.younerd.org"
hostname: "lab.yourdomain.tld"
interval: "10s"
timeout: "3s"
servers:
@@ -37,16 +37,16 @@ http:
tcp:
routers:
lab-younerd-tls:
lab-yourdomain-tls:
entryPoints:
- tls
rule: "HostSNI(`lab.younerd.org`)"
service: lab-younerd-tls
rule: "HostSNI(`lab.yourdomain.tld`)"
service: lab-yourdomain-tls
tls:
passthrough: true
services:
lab-younerd-tls:
lab-yourdomain-tls:
loadBalancer:
healthCheck:
interval: "10s"
@@ -60,9 +60,8 @@ tcp:
HTTP-01 certificate challenges use normal HTTP routing on port `80`, not SNI. The included example forwards:
```text
lab.younerd.org -> 127.0.0.1:8080
azionelab.org -> 127.0.0.1:9080
www.azionelab.org -> 127.0.0.1:9080
lab.yourdomain.tld -> 127.0.0.1:8080
www.yourdomain.tld -> 127.0.0.1:9080
```
Adjust `8080` and `9080` to the local ports where the backend HTTP service is listening. The full HTTP request is forwarded so the backend can handle redirects and ACME challenge paths.