add support for https reverse proxy

Laravel does not detect this correctly