diff options
author | Omar Polo <op@omarpolo.com> | 2023-07-23 19:04:37 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-07-23 19:04:37 +0000 |
commit | 6a8387e5f54a4d6db07aa2f3c7046f618b82aac2 (patch) | |
tree | 9c097e4ca7ea3a9b98c465d388ce13aad7679e01 /parse.y | |
parent | fdd67729b45c7073be9ea1720cbadbaae8f0d112 (diff) |
add `fastcgi off' to forceful skip fastcgi for a route
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -491,6 +491,10 @@ locopt : AUTO INDEX bool { loc->auto_index = $3 ? 1 : -1; } fastcgi : FASTCGI '{' optnl fastcgiopts '}' | FASTCGI fastcgiopt + | FASTCGI OFF { + loc->fcgi = -1; + loc->nofcgi = 1; + } | FASTCGI string { yywarn("`fastcgi path' is deprecated. " "Please use `fastcgi socket path' instead."); |