- Open your web server configuration
nano /etc/apache2/sites-available/000-default.conf
- Add this line before </VirtualHost>
- Save and restart your apache
Redirect permanent / https://yourdomain.com
service apache2 restart
Sumber:
https://wiki.apache.org/httpd/RedirectSSL
1 comments:
Good toturial
Post a Comment