I have installed pgadmin4 on apache 2.2 with mod_wsgi, and it seems to be working correctly.
The problem is I need to run nginx in front of it to enable https and caching. When I try to access pgadmin with this setup I get errors in the browser about some elements not being able to be loaded because they are linked through http instead of https.