-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Can't load custom nginx configuration #1699
Comments
Could we see the actual |
|
Right,
This is actually fine. What I think the issue is, is that if you wish to modify the Kong part of the Nginx configuration, you'll need to inline it in your |
Hey sorry I forgot to get back to you last week, but I did get this figured out by just inlining all the configs. Had issues with the include since we were overwriting some of the logging stuff. |
if I want to add another location handler by lua in kong, how can I make it? |
This file is compiled from the template. As documented in the link posted here a few months ago. |
@thibaultcha Thanks for the comment. Just has one suggestion for this, put the default template file into The reason is that in the
The file name used in the example is And the default template file which They have different extension name Thanks. |
same here |
Edit: Found the generated config at |
Summary
We use some custom nginx configurations in our installation, but whether I copy over the default configurations with the new configurations, specify the configuration with the nginx-conf flag, or do the same after deleting the default configurations, the startup process seems to rebuild the default nginx configuration files and use those values. We use docker for installation and copy our custom configurations from the dockerfile.
Steps To Reproduce
ALTERNATE
Additional Details & Logs
Let me know if you need more info from me.
The text was updated successfully, but these errors were encountered: