Moved site behind proxy, favicon and header not using https anymore

Is your proxy supplying an X-Forwarded-Proto header? (It should).

Yes it is.