Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for NGINX Variables #56

Open
oliveromahony opened this issue Jun 22, 2023 · 1 comment
Open

Support for NGINX Variables #56

oliveromahony opened this issue Jun 22, 2023 · 1 comment

Comments

@oliveromahony
Copy link
Collaborator

There are a clear set of supported variables in NGINX, documented here: http://nginx.org/en/docs/varindex.html
It would be good for crossplane to support these variables and have an option to set real values in the NGINX config for the in-memory representation of the NGINX config. This will help users of crossplane to toggle between variables e.g. $hostname and actual values e.g. www

Describe the solution you'd like

Add a configuration that allows crossplane to change variables like $var into real values.

@ornj
Copy link
Member

ornj commented Jun 26, 2023

Can you elaborate on this idea and what problems it helps to solve? What is the expected behavior, perhaps with some example use cases / scenarios? Do you provide think Crossplane supports different values for variables that appear in multiple contexts? How are variables provided? Is it a dictionary of sorts? Is Crossplane processing something that looks like a request to set arbitrary variables such as $arg_ and $http_ or chose values from map directives?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants