This is an implementation of webconf-spec for nginx. The nginx-cfg
binary converts the webconf-spec-formatted JSON files into native nginx configuration.
As an input, it takes the path to directory with .json files and it generates the nginx configuration files in the output directory
The following table describes current level of webconf-spec implementation:
Option | Supported | Note |
---|---|---|
balancers | ✔ | |
certificate | ✔ | |
certificate_key | ✔ | |
document_root | ✔ | |
error_pages | ✔ | |
index | ✘ | disabled and autoindex not supported yet. |
locations | ✔ | |
match | ✔ | |
match.allow | ✔ | |
proxy | ✔ | |
raw_config | ✘ | not supported yet |
redirects | ✔ | |
version | ✔ | |
virtualhost | ✔ |