next release readme fix

This commit is contained in:
yusing 2025-01-03 19:20:29 +08:00
parent c506db1ef4
commit cb9b7d55fd

View file

@ -83,24 +83,25 @@
services: services:
app: app:
... ...
# add '|' after colon ':' to treat it as string labels:
proxy.app: | # add '|' after colon ':' to treat it as string
scheme: http proxy.app: |
host: 10.0.0.254 scheme: http
port: 80 host: 10.0.0.254
path_patterns: port: 80
- GET / path_patterns:
- POST /auth - GET /
healthcheck: - POST /auth
disabled: false healthcheck:
path: / disabled: false
interval: 5s path: /
proxy.app1.healthcheck: | interval: 5s
path: /ping proxy.app1.healthcheck: |
use_get: true path: /ping
proxy.app1.load_balance: | use_get: true
link: app proxy.app1.load_balance: |
mode: ip_hash link: app
mode: ip_hash
``` ```
- **New:** support entrypoint middlewares (applied to all routes, before route middlewares) - **New:** support entrypoint middlewares (applied to all routes, before route middlewares)