Edit /etc/apache2/sites-available/000-default as;
ServerAdmin admin@domain.com
ServerName domain.com
ServerAlias www.domain.com
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/?(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
Bugün 1, bugüne kadar toplam 33 kez ziyaret edildi.