I have pgAdmin4 running as a web server and accessible only via HTTPS. The problem is that pgAdmin4 on redirects ignores original scheme and always redirects to HTTP. Is it possible to change it?
Can you provide more info on your config, for both pgAdmin and whatever webserver you're using? This doesn't happen for me on Apache.