Fix ngx 0.5.0 API compatibility

- Update HttpModule trait implementation to match ngx 0.5.0 API
- Implement HttpModuleLocationConf as separate unsafe trait
- Fix configuration access using Module::location_conf()
- Replace ngx_null_command macro with explicit null command
- Update imports to use correct constant names
- Suppress C FFI naming convention warnings
This commit is contained in:
Edward Langley
2025-11-15 14:26:39 -08:00
parent b28ff2db17
commit 63fbee6694
8 changed files with 208 additions and 834 deletions

2
runit
View File

@ -1,4 +1,4 @@
/home/edwlan/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/.cache/nginx/1.23.3/linux-x86_64/sbin/nginx \
./ngx_src/nginx-1.28.0/objs/nginx \
-e /dev/stdout \
-p "$PWD" \
-c conf/howto.conf \