how to force https on media library

Hello,

I forced https on admin page and would like to force https on media library but keep http on front end page and don t find how to do without using a complex plugin. Is there a simple way to oblige https for all files in wp-content ?

Thank you

Ludovic