nginxinc / nginx-go-crossplane

A library for working with NGINX configs in Go
Apache License 2.0
52 stars 14 forks source link

add: allow njs directives in all supported contexts #45

Closed valyria257 closed 1 year ago

valyria257 commented 1 year ago

Proposed changes

As of the 0.7.7 njs release, some js directives can now be specified in additional contexts. See https://nginx.org/en/docs/njs/changes.html#njs0.7.7 for all updated directives and respective allowed contexts.

Checklist

Before creating a PR, run through this checklist and mark each as complete.