Goal :
I am trying to include a thirdparty module a Http_more_headers to provide a custom name to the server in the headers.
I am able to build a custom controller image with the module installed with a slightly tweaked DockerFile.
Issue:
To enable this third party module I need to add the load_module directive in the nginx.conf I am however confused on how the ingress controller interprets the nginx.conf file. If I add the load_module in the server-snippet annotation, will it work? or do I have to modify the .tmpl file to enable the third party module? or should I just modify the nginx.conf and use a COPY during the image build itself? which would be the best way to achieve the goal?