NgxParserDirectiveContextError false positive
nicholi opened this issue · 1 comments
nicholi commented
This seems to possibly stem from an old bug in nginx itself, which was incorrectly blocking include directives inside an if block. However include directives are allowed in any context. The bug was solved quite a while back, I found this old bug report pointing to the same:
https://trac.nginx.org/nginx/ticket/1615
nginx -t is showing no errors whatsoever on the conf, but the amplify-agent is reporting the error about the line.
nicholi commented
Sorry meant to report this on https://github.com/nginxinc/nginx-amplify-agent