I’ve followed all the solutions found in similar issues in the forum. I have no succeed doing it.
What i have:
- Magento 2.4.3
- Varnish Cache 6 (set to work at port 80)
- Apache (set to work at port 8081 for http traffic)
- Nginx (set as SSL reverse proxy at port 443)
In Ubuntu 22.04 server.
What is my current state:
Both http and https pages are loading fine.
What i want to achieve:
I want all http pages to redirect permanently to https.
Until now Google had indexed all my http pages.
What i’ve tried:
Edit the .htaccess files with lines that by theory should redirect traffic (no success)
Edit Nginx conf file and Apache conf file – separately and together – again no result
I want to be able to access my Admin panel in http – but is essential frontend to redirect to https.
What can i do any suggestions ?