diff options
author | Omar Polo <op@omarpolo.com> | 2021-04-30 17:16:34 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-04-30 17:16:34 +0000 |
commit | fdea6aa0bca24f6f947e2126ce101fd59caa7a31 (patch) | |
tree | c167f225e73250eb8cc82347a23ce7a86cfbf027 /gmid.h | |
parent | adbe6a6493c0e91fcfc918db8f4b5839a2867b1c (diff) |
allow ``root'' rule to be specified per-location block
Diffstat (limited to 'gmid.h')
-rw-r--r-- | gmid.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -70,6 +70,9 @@ struct location { X509_STORE *reqca; int disable_log; + const char *dir; + int dirfd; + TAILQ_ENTRY(location) locations; }; @@ -91,10 +94,8 @@ struct vhost { const char *domain; const char *cert; const char *key; - const char *dir; const char *cgi; const char *entrypoint; - int dirfd; TAILQ_ENTRY(vhost) vhosts; @@ -234,6 +235,7 @@ struct cgireq { time_t notafter; size_t host_off; + size_t loc_off; }; enum { |