I added the line
$locationProvider.html5Mode(true);
in app.js of my webapp in order to revove the '#' symbol from the URL. Once added this line (even only importing locationProvider) all requests in my site are redirected to http (port 80).
I need to use https, can anyone help me?
Thanks, Laura
Try and add to the head.
You might also want to look into How to redirect HTTP to HTTPS Using .htaccess https://www.google.com/amp/s/www.freecodecamp.org/news/how-to-redirect-http-to-https-using-htaccess/amp/