<VirtualHost *:80>
ServerName sme-os.tech.cm.in.th
	ServerAdmin webmaster@localhost
	DocumentRoot /var/www/sme-os.tech.cm.in.th/
   <Directory /var/www/sme-os.tech.cm.in.th>
        Options Indexes FollowSymlinks
        AllowOverride all
        Require all granted
        AddDefaultCharset off
    </Directory>

	ErrorLog ${APACHE_LOG_DIR}/sme-os.tech.cm.in.th.error.log
	CustomLog ${APACHE_LOG_DIR}/sme-os.tech.cm.in.th.access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =sme-os.tech.cm.in.th
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
