When front-end nginx (through https:443) forward to apache2 (through http:80) the base url was http and not https. Corrected now :bug: