Webconf-spec is specification of webserver configuration for web applications configuration. The goal of webconf-spec is to provide a way how to configure widely used webservers or proxies like Apache httpd, Nginx or HAProxy using the single configuration file.
It can be used to create web applications without dependency on any particular webserver implementation. In this case, the web application developer writes single configuration file in JSON, which is translated to the particular webserver's configuration on the user's machine when he deploys the application. This is achieved by the webconf-spec implementation shipped together with the webserver.
- Description of webconf-spec - version 0.1
- JSON Schema of webconf-spec in Docson - version 0.1
- Description of webconf-spec - development version
- JSON Schema of webconf-spec in Docson - development version
- Current implementations:
- httpd-cfg - Implementation generating Apache httpd configuration files.
- haproxy-cfg - Implementation generating HAProxy configuration files.
- nginx-cfg - Implementation generating nginx configuration files.
- The example usages of webconf-spec: