How to configure 'HTTPS' in production.
I deployed Bagisto and by default it is in 'HTTP' mode. I need to change to HTTPS mode. How can I achieve this? Could not find any setting.
I tried changing the APP_URL to https://<host address> as per this post and then restarted the server using command
sudo systemctl start apache2.service
But still https://<host address> throws below error
This site can’t provide a secure connection18.104.22.168 sent an invalid response. ERR_SSL_PROTOCOL_ERROR
you should first add the webserver settings to set https , kindly read follow this guide https://www.smashingmagazine.com/2017/06/guide-switching-http-https/