Add pkgdb2.proxy and set pkgdb2 as an application behind a reverse proxy

This will ensure that flask.redirect is using ``https`` where asked.

Fixes https://fedorahosted.org/fedora-infrastructure/ticket/4369