Search Posts

Category: nginx-location

Serving two different angular apps at one domain with wildcard in path

Say I have a Dog app written in AngularJS and I’m now adding a new Grooming sub-app written in Angular4 Right now I have nginx serving /api to a backend php server with the /api prefix rewritten off (so it doesn’t know it’s in a sub-path) and / served by the frontend AngularJS app. These are two distinct apps, each in their own server directory. This works fine right now. Now we are adding a […]