generated from bisco/codex-bootstrap
removed useless informations
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user