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
|
```yaml
|
||||||
http:
|
http:
|
||||||
routers:
|
routers:
|
||||||
lab-younerd-http:
|
lab-yourdomain-http:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- web
|
- web
|
||||||
rule: "Host(`lab.younerd.org`)"
|
rule: "Host(`lab.yourdomain.tld`)"
|
||||||
service: lab-younerd-http
|
service: lab-yourdomain-http
|
||||||
|
|
||||||
services:
|
services:
|
||||||
lab-younerd-http:
|
lab-yourdomain-http:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
healthCheck:
|
healthCheck:
|
||||||
path: "/"
|
path: "/"
|
||||||
hostname: "lab.younerd.org"
|
hostname: "lab.yourdomain.tld"
|
||||||
interval: "10s"
|
interval: "10s"
|
||||||
timeout: "3s"
|
timeout: "3s"
|
||||||
servers:
|
servers:
|
||||||
@@ -37,16 +37,16 @@ http:
|
|||||||
|
|
||||||
tcp:
|
tcp:
|
||||||
routers:
|
routers:
|
||||||
lab-younerd-tls:
|
lab-yourdomain-tls:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- tls
|
- tls
|
||||||
rule: "HostSNI(`lab.younerd.org`)"
|
rule: "HostSNI(`lab.yourdomain.tld`)"
|
||||||
service: lab-younerd-tls
|
service: lab-yourdomain-tls
|
||||||
tls:
|
tls:
|
||||||
passthrough: true
|
passthrough: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
lab-younerd-tls:
|
lab-yourdomain-tls:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
healthCheck:
|
healthCheck:
|
||||||
interval: "10s"
|
interval: "10s"
|
||||||
@@ -60,9 +60,8 @@ tcp:
|
|||||||
HTTP-01 certificate challenges use normal HTTP routing on port `80`, not SNI. The included example forwards:
|
HTTP-01 certificate challenges use normal HTTP routing on port `80`, not SNI. The included example forwards:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
lab.younerd.org -> 127.0.0.1:8080
|
lab.yourdomain.tld -> 127.0.0.1:8080
|
||||||
azionelab.org -> 127.0.0.1:9080
|
www.yourdomain.tld -> 127.0.0.1:9080
|
||||||
www.azionelab.org -> 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.
|
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