Hi!
With your suggestions, I was able to get it - thank you! Here is what I
ended up doing:
location = /admin { try_files /index.html =404; }
location ^~ /admin/ { alias /home/user/project/dist/; try_files $uri $uri/
/admin/index.html; }
location = / { # proxy_pass }
location ~ ^/[^/]+$ { # proxy
Hi,
I'm trying to serve up static files for some paths and proxy_pass for others
and I can't figure it out.
=== Requirements ===
Location 1: the following paths should all load the requested file from
/home/user/project/dist/ and fall back to /home/user/project/dist/index.html
if the explicit fi