yusing
5d2df3550b
refactor: remove forward auth, move module net/http to net/gphttp
2025-03-28 07:39:26 +08:00
Peter Olds
7dd00d2424
feat: add a add_prefix
middleware ( #51 )
...
This will allow you to translate:
`foo.mydomain.com` => `192.168.1.99:8000/foo` (for example)
2025-01-24 00:34:26 +08:00
yusing
59f4eaf3ea
cleanup and simplify middleware implementations, refactor some other code
2024-12-17 10:33:21 +08:00
yusing
2cbee10527
add $remote_host and $remote_port variables
2024-12-05 10:37:17 +08:00
yusing
aff8a3b401
fix modifyResponse middleware incorrect variable substitution
2024-12-05 10:31:48 +08:00
yusing
ef1863f810
support variables in modify request,response middlewares
2024-12-03 10:20:18 +08:00
yusing
f97e3f65fe
go version and deps update, fixed middlewares and metrics
...
- fixed "API JWT secret empty" warning output format
- fixed metrics initialized when it should not
- fixed middlewares.modifyRequest Host header not working properly
2024-11-08 06:14:08 +08:00
yusing
8df28628ec
removed unnecessary pointer indirection, added rate limiter middleware
2024-11-03 07:07:30 +08:00
yusing
e5bbb18414
migrated from logrus to zerolog, improved error formatting, fixed concurrent map write, fixed crash on rapid page refresh for idle containers, fixed infinite recursion on gotfiy error, fixed websocket connection problem when using idlewatcher
2024-10-29 11:34:58 +08:00
yusing
44cfd65f6c
implement middleware compose
2024-10-01 16:38:07 +08:00
yusing
860e914b90
added real_ip and cloudflare_real_ip middlewares, fixed that some middlewares does not work properly
2024-09-30 04:03:48 +08:00