-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 include other nginx config in the apisix(lua file) #2565
Comments
Could you please show some example? |
Sure! Third-party nginx module param
Other not support nginx param
|
You mean like the nginx_http_include directive from kong?
the
then this configuration will appear in the |
I will vote for ingress-nginx's snippet feature: This feature can be configured directly in the yaml file. |
agree +1 |
I doubt this will solve the renaming configuration, e.g. I want to configure multiple |
@tzssangglass apisix/conf/config-default.yaml Line 142 in 1fb000c
Why do you think this feature can't be supported via snippets? |
Good. I had misconceptions about snippets before. I'm not sure if all the configurations can be translated from |
Good idea , most of situation can be covered。
But I think this format of config is not suitable to write to ymal |
@nanamikon |
Issue description
I can find that apisix use template to generate nginx.conf in the apisix(lua file), we need to change this file in following scenarios in my company
What's about adding a new feature, for example, support including other nginx conf file in the apisix(lua file)
Thank you!
Environment
The text was updated successfully, but these errors were encountered: