vicanso / pingap

A reverse proxy like nginx, built on pingora, simple and efficient.
http://pingap.io/pingap-zh/
Apache License 2.0
304 stars 19 forks source link

[REQUEST] support for HCL config files #15

Open adammakowskidev opened 4 months ago

adammakowskidev commented 4 months ago

HCL is a toolkit for creating structured configuration languages that are both human- and machine-friendly, for use with command-line tools. Although intended to be generally useful, it is primarily targeted towards devops tools, servers, etc.

The HCL native syntax is inspired by libucl, nginx configuration, and others.

It includes an expression syntax that allows basic inline computation and, with support from the calling application, use of variables and functions for more dynamic configuration languages.

HCL provides a set of constructs that can be used by a calling application to construct a configuration language. The application defines which attribute names and nested block types are expected, and HCL parses the configuration file, verifies that it conforms to the expected structure, and returns high-level objects that the application can use for further processing.

https://github.com/hashicorp/hcl

almereyda commented 3 months ago

Without wanting to deviate attention from pingap, until this issue is resolved, you might want to find good use for proksi: https://docs.proksi.info/configuration/hcl