Static: support for openat2() features.

Support for chrooting, rejecting symlinks, and rejecting crossing mounting
points on a per-request basis during static file serving.
This commit is contained in:
Zhidao HONG
2021-04-29 22:04:34 +08:00
parent 113afb09ea
commit 53279af5d4
10 changed files with 313 additions and 27 deletions

View File

@@ -217,6 +217,8 @@ struct nxt_http_action_s {
} app;
struct {
nxt_str_t chroot;
nxt_uint_t resolve;
nxt_http_action_t *fallback;
} share;
} u;