I have a static website written in Jekyll that I am maintaining at three locations:
- My development environment. For live updating, I have a jekyll live server that serves the pages on the loopback interface 127.0.0.1.
- My test environment. This is an LXD container also running on my local machine on an internal bridged interface.
- My production environment. This essentially a clone of the test LXD container, running outside on a VPS. My Matomo instance is running in this container.
The strange thing is that hits to the pages in the dev server on 127.0.0.1 and to the test server on the local container are all properly recorded by Matomo running in a container on the external VPS. But hits to the pages running in the container on the external VPS are not recorded.
I do not understand why this would be the case, since in all three cases the communication with Matomo is initiated by my device which is external to the VPS.
How do I troubleshoot this?