I have a Wordpress blog set up on domain.com/blog and a separate Angular website with nginx at domain.com running on the same server. This has been causing all kinds of issues with Cornerstone and other plugins that try to access domain.com/{url} because by default any url that doesn’t include /blog/ gets handled by the angular app. Somehow Cornerstone still largely works. I can edit pages and save but after a few consecutive saves it stops working. I noticed that Cornerstone tries to access domain.com/cornerstone-endpoint but returns a 404 because it’s not part of my nginx config. Adding the route to nginx actually causes even more problems as Cornerstone refuses to load altogether.
Any help would be much appreciated!