Access static files - Pages

I currently develop web solutions with Vuejs, I deploy my sites on my own servers using Nginx.

I have been testing Cloudflare Pages to migrate to this service but I found a problem, and that is that I cannot access my static files directly. For example, a file in this path: https ://

Using the _headers file I could get it to work, but only and exclusively if the site is not loaded previously and if it is entered with the direct URL https :// in the browser.

On my server this is easily solved by adding try_files $uri $uri/ /index.html to the Nginx configuration.

Is it possible to do this with Cloudflare Pages? so I can load these files this way?

I’m not understanding your issue. You should just be able to access your assets like normal.

Can you share your site and links to where you see an issue?

This is the situation.

I have static files in my /img folder of my site and I want to access to this file for example: https ://

Actually what I get is the 404 error page of my application made in Vuejs, not the static file fb_logo.png.

In my Nginx server I solved it with this configuration try_files $uri $uri/ /index.html, but I don’t know how to get the same result with Cloudflare Pages. Since whenever I try to access a static file in my /img folder I get a 404 from my page.