mirror of
https://github.com/fosrl/docs.git
synced 2025-05-13 05:40:41 +01:00
fix indents in yaml
This commit is contained in:
parent
95c0c6efb1
commit
d93e2c7224
1 changed files with 16 additions and 16 deletions
|
@ -38,21 +38,21 @@ So for example a UDP EntryPoint would look like:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
entryPoints:
|
entryPoints:
|
||||||
udp-1704:
|
udp-1704:
|
||||||
address: ":1704/udp"
|
address: ":1704/udp"
|
||||||
```
|
```
|
||||||
|
|
||||||
And for TCP:
|
And for TCP:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
entryPoints:
|
entryPoints:
|
||||||
tcp-1602:
|
tcp-1602:
|
||||||
address: ":1602/tcp"
|
address: ":1602/tcp"
|
||||||
```
|
```
|
||||||
|
|
||||||
:::info
|
:::info
|
||||||
|
|
||||||
The *name* if the EntryPoint is IMPORTANT because it must be referenced by the dynamic config. ALWAYS name your EntryPoint in the format `protocol-port` as shown in the examples!
|
The _name_ if the EntryPoint is IMPORTANT because it must be referenced by the dynamic config. ALWAYS name your EntryPoint in the format `protocol-port` as shown in the examples!
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
@ -60,16 +60,16 @@ The whole thing would look something like this:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
entryPoints:
|
entryPoints:
|
||||||
web:
|
web:
|
||||||
address: ':80'
|
address: ":80"
|
||||||
websecure:
|
websecure:
|
||||||
address: ':443'
|
address: ":443"
|
||||||
http:
|
http:
|
||||||
tls:
|
tls:
|
||||||
certResolver: letsencrypt
|
certResolver: letsencrypt
|
||||||
transport:
|
transport:
|
||||||
respondingTimeouts:
|
respondingTimeouts:
|
||||||
readTimeout: 30m
|
readTimeout: 30m
|
||||||
tcp-1602:
|
tcp-1602:
|
||||||
address: ":1602/tcp"
|
address: ":1602/tcp"
|
||||||
udp-1704:
|
udp-1704:
|
||||||
|
@ -90,4 +90,4 @@ Finally! Now after all of that config you can create the resource in Pangolin. Y
|
||||||

|

|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
After you create the resource you can add targets just like any other resource!
|
After you create the resource you can add targets just like any other resource!
|
||||||
|
|
Loading…
Reference in a new issue