Issue after installing in subdirectory

Dear Community,



I have installed mautic on my ubuntu 16.0 AWS. I have php website with MySQL database.



My website website.com or www.website.com is getting redirected to https://www.website.com/mautic/s/login

While https://www.zenkast.com/ is directing correctly at my website.



I am not able to understand why non-https is getting redirected to https://www.website/mautic/s/login while https is being displayed correctly.



Please Help.

Dear Community,

I have installed mautic on my ubuntu 16.0 AWS. I have php website with MySQL database.

My website website.com or www.website.com is getting redirected to https://www.website.com/mautic/s/login
While https://www.zenkast.com/ is directing correctly at my website.

I am not able to understand why non-https is getting redirected to https://www.website/mautic/s/login while https is being displayed correctly.

Please Help.