Skip to content

Tag: nginx

How can you serve a folder of files with Nginx?

I’m trying to serve a folder that contains HTML, JS, PHP, Java, and a couple of other different file types with Ngnix. I plan to then import two JS files from that folder into my index.html like so : The problem is, I am getting a 404 Not Found error : Below is my nginx.conf file. Any help would be