File: //proc/1991220/root/etc/apache2/sites-enabled/www.gosurya.co.id.conf
<VirtualHost *:80>
DocumentRoot /var/www/Gosurya/wp
ServerName www.gosurya.co.id
ServerAlias gosurya.co.id
<Directory /var/www/Gosurya/wp>
allow from all
Options None
Require all granted
</Directory>
RewriteEngine on
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
RewriteCond %{HTTPS} off
RewriteCond %{SERVER_NAME} =gosurya.co.id [OR]
RewriteCond %{SERVER_NAME} =www.gosurya.co.id
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>