diff --git a/roles/webserver/files/etc/apache2/sites-available/www.thunix.net.conf b/roles/webserver/files/etc/apache2/sites-available/www.thunix.net.conf index cd776a23..da35611f 100644 --- a/roles/webserver/files/etc/apache2/sites-available/www.thunix.net.conf +++ b/roles/webserver/files/etc/apache2/sites-available/www.thunix.net.conf @@ -18,37 +18,6 @@ Require method GET POST OPTIONS + Redirect permanent / https://thunix.net/ + - - - ServerAdmin webmaster@thunix.net - ServerName www.thunix.net - DocumentRoot /var/www/thunix.cf - ErrorLog ${APACHE_LOG_DIR}/error.log - CustomLog ${APACHE_LOG_DIR}/access.log combined - - AllowOverride All - Order deny,allow - Deny from all - - - UserDir public_html - UserDir disabled root - - AllowOverride FileInfo AuthConfig Limit Indexes - Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec - Require method GET POST OPTIONS - - - Options Indexes FollowSymLinks MultiViews - # changed from None to FileInfo - AllowOverride FileInfo - Order allow,deny - allow from all - - -Include /etc/letsencrypt/options-ssl-apache.conf -SSLCertificateFile /etc/letsencrypt/live/www.thunix.net/fullchain.pem -SSLCertificateKeyFile /etc/letsencrypt/live/www.thunix.net/privkey.pem - -