this may get you started with some basic information:
this may help you to get that certificate issue sorted:
see here about reverse proxies: