I need to isolate requests that result in actual theme template loads (homepage, posts, pages, tags, authors and errors) via nginx in order to send server-side payload hits to google analytics measurement protocol.
For this, I would have to send all other request to the ghost process from a separate location block.
The way I see it, either there is some useful endpoint for the templating engine (something like
/index.js or idk) or, if not, I could intercept everything else and send @ghost before finally letting
location / kick in.
For the former scenario, the question is what would that endpoint be. For the latter, the question is where I could find an exhaustive list of all the resources that ghost handles (such as images, feeds, sitemaps, whatever).