This commit is contained in:
yusing 2024-04-09 06:53:54 +00:00
parent 830d0bdadd
commit 24778d1093

View file

@ -3,7 +3,6 @@
## Table of content ## Table of content
<!-- TOC --> <!-- TOC -->
- [Table of content](#table-of-content) - [Table of content](#table-of-content)
- [Setup](#setup) - [Setup](#setup)
- [Labels](#labels) - [Labels](#labels)
@ -113,8 +112,7 @@ Below labels has a **`proxy.<alias>.`** prefix (i.e. `proxy.nginx.scheme: http`)
```yaml ```yaml
labels: labels:
- | proxy.app.set_headers: |
proxy.app.set_headers=
X-Custom-Header1: value1 X-Custom-Header1: value1
X-Custom-Header1: value2 X-Custom-Header1: value2
X-Custom-Header2: value2 X-Custom-Header2: value2
@ -126,11 +124,7 @@ Below labels has a **`proxy.<alias>.`** prefix (i.e. `proxy.nginx.scheme: http`)
## Labels (docker specific) ## Labels (docker specific)
Below labels has a **`proxy.<alias>.`** prefix (i.e. `proxy.app.headers.hide: X-Powered-By,X-Custom-Header`) Below labels has a **`proxy.<alias>.`** prefix (i.e. `proxy.app.load_balance=1`)
- `headers.set.<header>`: value of header to set
- `headers.hide`: comma seperated list of headers to hide
- `load_balance`: enable load balance - `load_balance`: enable load balance
- allowed: `1`, `true` - allowed: `1`, `true`