24 Commits

Author SHA1 Message Date
xfy
46c2f90f92 chore: update default config
add lua script path
2025-06-26 21:53:24 +08:00
xfy
64a85dd5a4 feat: add max body size support 2025-06-25 22:51:09 +08:00
xfy
0c925f289b feat(serve): add list directory 2025-06-18 20:41:01 +08:00
xfy
61934b6c0d chore: bump to 0.2.0 2025-06-17 23:35:50 +08:00
xfy
c860ac1a55 chore(deps): bump dependecies 2025-04-23 21:05:12 +08:00
xfy
718d13a13a feat(http): enhance error handling and config clarity
- Refactored `serve.rs` loop for robustness (tries all paths before failing).
- Improved error messages in `error.rs` for better debugging.
- Updated `config.rs` and `config.example_full.toml` to reflect new defaults.
- Added debug logs for failed path attempts in file serving.
2025-04-22 15:51:58 +08:00
xfy
45d8c36136 refactor: change backend to axum 2025-04-08 09:24:13 +08:00
xfy
722bcb1c15 chore: update read certificate error 2025-03-13 17:16:00 +08:00
xfy
12a4b046cf docs: update config comments 2024-12-04 10:23:48 +08:00
xfy
3df4b6a087 feat(proxy): add timeout setting 2024-08-08 11:31:22 +08:00
xfy
80c18df856 feat(timeout): add connection timeout
remove keey_alive
2024-06-27 15:31:59 +08:00
xfy
fd00cba57a refactor handle files
add handle proxy
2024-05-28 17:05:19 +08:00
xfy
bb0565181a add tracing instrument
remove nightly
2024-05-24 14:24:52 +08:00
xfy
505d4db1c6 update config example 2024-05-24 11:53:36 +08:00
xfy
55e8200967 refactor router match 2024-05-21 14:02:34 +08:00
xfy
d76a58d264 optimze router finder 2024-05-21 13:24:29 +08:00
xfy
31d89f14a4 add custom error page for host 2024-05-20 13:39:24 +08:00
xfy
12c3694774 fix config init twice
move index to host
2024-05-20 11:56:27 +08:00
xfy
8451432a40 add overrite headers in config 2024-05-17 11:51:57 +08:00
xfy
7ff097528c fix keep-alive default name error 2024-05-13 21:55:28 +08:00
xfy
216811c4f8 fix keep-alive timeout 2024-05-13 21:41:21 +08:00
xfy
16ac65a8cc add mime types overrides 2024-05-11 09:26:23 +08:00
xfy
38fff15762 add default mime type 2024-05-11 08:41:00 +08:00
xfy
8ecd35afaf add keep-alive timeout
add more default settings

add basic config example
2024-04-28 09:29:49 +08:00