Strange backend behavior

After updating from v2 to v3, I’m experiencing an issue I can’t explain.

The frontend works fine, and so does the backend when I access the server via its IP address. When I access the backend from the internet via HA Proxy and Nginx, I can open the backend menu and select, for example, Editor. But as soon as I’m in the Editor, the backend menu stops working—clicking on it doesn’t do anything and I have to close the backend and reopen it. In some cases, the backend behaves even more strangely. For example, if I open a page with a list controller, the menu also stops working, but as soon as I open the popup where I can adjust column visibility and close the popup, everything starts working again.

It seems that AJAX is having some issues accessing the site through a proxy. However, in the developer console, I don’t see any error messages from JavaScript or any indication that certain resources failed to load. Note, the frontend works without any problems, including AJAX forms.

I’m using the current version 3 (3.7.18)