I have a web server expresswith static files. Let me call it my express-deployment.
I would like to use mine ingress-nginxto serve static files from mine express-deploymentwithout even having to click on my express server.
This nginxis done using a directive locationwhere you specify locally hosted files. Although I see the option locations-snippetin ingress-nginx configMap, I'm not quite sure how it would be in the files in another container.
Is this possible with help ingress-nginx? If so, how can I do this? Alternatively, is this what requires placing the nginx container along my express server? (It seems strange that for this I will need 2 nginx)
source
share