<VirtualHost *:441>
	ServerName nikacare.com
	ServerAlias nikacare au.nikacare.com us.nikacare.com
	DocumentRoot "/www/nikacare"
	ServerAdmin sam@ucm.dev
	ErrorLog logs/nikacare-error_log
	CustomLog logs/nikacare-access_log combined
#	ScriptAlias /x/ /www/nikacare/x/
#	ScriptAlias /a/ /www/nikacare/a/
#	AddHandler cgi-script .cgi
	<Directory "/www/nikacare">
		Options +Indexes
		Options +FollowSymLinks -SymLinksIfOwnerMatch
		Require all granted
		AllowOverride All
	</Directory>
#	<Directory "/www/nikacare/x">
#		AllowOverride None
#		Options +ExecCGI -MultiViews
#		Options +FollowSymLinks -SymLinksIfOwnerMatch
#		Require all granted
#	</Directory>
#	<Directory "/www/nikacare/a">
#		AllowOverride None
#		Options +ExecCGI -MultiViews
#		Options +FollowSymLinks -SymLinksIfOwnerMatch
#		AuthName "Admin Only"
#		AuthType Basic
#		AuthUserFile /www/nikacare/.htpasswd
#		Require valid-user
#	</Directory>
#	<Directory "/www/nikacare/logout">
#		AllowOverride None
#		authname "Admin Only"
#		authtype basic
#		authuserfile /www/nikacare/logout/.htpasswd
#		require valid-user
#	</Directory>
#	<Directory "/www/nikacare/log">
#		Options +FollowSymLinks -SymLinksIfOwnerMatch
#		AllowOverride None
#		AuthName "Admin Only"
#		AuthType Basic
#		AuthUserFile /www/nikacare/.htpasswd
#		Require valid-user
#	</Directory>
	AddDefaultCharset utf-8
	RewriteEngine on
#	RewriteRule ^/example$ https://example.com/ [L]
	SSLCertificateFile /etc/letsencrypt/live/nikacare.com/fullchain.pem
	SSLCertificateKeyFile /etc/letsencrypt/live/nikacare.com/privkey.pem
	Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
<VirtualHost *:80>
	ServerName nikacare.com
	ServerAlias nikacare au.nikacare.com us.nikacare.com
	DocumentRoot "/www/nikacare"
	ServerAdmin sam@ucm.dev
	ErrorLog logs/nikacare-error_log
	CustomLog logs/nikacare-access_log combined
	RewriteEngine on
	RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]
</VirtualHost>
