Skip to content
Advertisement

Tag: nginx

Vue dynamic component loading problem with Nginx deployment

I have the following situation: I have a component in my vue app that dynamically loads components depending on an API query. Here is my template: Here is my script part So basically the app dynamically loads a given component depending on some string. This works perfectly fine on my dev environment, however if i try to deploy it in

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

Advertisement