mirror of
https://github.com/yusing/godoxy.git
synced 2025-06-09 04:52:35 +02:00
next release readme fix
This commit is contained in:
parent
c506db1ef4
commit
cb9b7d55fd
1 changed files with 19 additions and 18 deletions
|
@ -83,24 +83,25 @@
|
|||
services:
|
||||
app:
|
||||
...
|
||||
# add '|' after colon ':' to treat it as string
|
||||
proxy.app: |
|
||||
scheme: http
|
||||
host: 10.0.0.254
|
||||
port: 80
|
||||
path_patterns:
|
||||
- GET /
|
||||
- POST /auth
|
||||
healthcheck:
|
||||
disabled: false
|
||||
path: /
|
||||
interval: 5s
|
||||
proxy.app1.healthcheck: |
|
||||
path: /ping
|
||||
use_get: true
|
||||
proxy.app1.load_balance: |
|
||||
link: app
|
||||
mode: ip_hash
|
||||
labels:
|
||||
# add '|' after colon ':' to treat it as string
|
||||
proxy.app: |
|
||||
scheme: http
|
||||
host: 10.0.0.254
|
||||
port: 80
|
||||
path_patterns:
|
||||
- GET /
|
||||
- POST /auth
|
||||
healthcheck:
|
||||
disabled: false
|
||||
path: /
|
||||
interval: 5s
|
||||
proxy.app1.healthcheck: |
|
||||
path: /ping
|
||||
use_get: true
|
||||
proxy.app1.load_balance: |
|
||||
link: app
|
||||
mode: ip_hash
|
||||
```
|
||||
|
||||
- **New:** support entrypoint middlewares (applied to all routes, before route middlewares)
|
||||
|
|
Loading…
Add table
Reference in a new issue