mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-18 15:10:13 +02:00
fix incorrect reload behaviors, further organize code
This commit is contained in:
@@ -72,9 +72,9 @@ proxy.app1.host: 10.0.0.254
|
||||
proxy.app1.port: 80
|
||||
proxy.app1.path_patterns:
|
||||
| # Check https://pkg.go.dev/net/http#hdr-Patterns-ServeMux for syntax
|
||||
GET / # accept any GET request
|
||||
POST /auth # for /auth and /auth/* accept only POST
|
||||
GET /home/{$} # for exactly /home
|
||||
- GET / # accept any GET request
|
||||
- POST /auth # for /auth and /auth/* accept only POST
|
||||
- GET /home/{$} # for exactly /home
|
||||
proxy.app1.healthcheck.disabled: false
|
||||
proxy.app1.healthcheck.path: /
|
||||
proxy.app1.healthcheck.interval: 5s
|
||||
|
||||
Reference in New Issue
Block a user