Re: Trying to use nginx + passenger for a rails 6 + angular 14 app...

2024-02-16 Thread Patrick J. Collins
Nevermind, I got it all figured out. Patrick J. Collins https://collinatorstudios.com On Thu, 15 Feb 2024, Patrick J. Collins wrote: > I have a rails app that is purely an api server, with an angular frontend > living under a subfolder in the public directory.. So the server&

Trying to use nginx + passenger for a rails 6 + angular 14 app...

2024-02-15 Thread Patrick J. Collins
/api/ { passenger_app_root /home/my-app/; passenger_enabled on; } location ^/api/ { index angular-app/index.html; passenger_enabled off; } ... } ``` And I still end up with 500s going anywhere other than api endpoints... Does anyone one know what I can d