ansible/roles/webserver/files/etc/apache2/sites-available/staticadventures.netlib.re....

15 lines
530 B
Plaintext
Raw Normal View History

2019-03-26 23:41:03 +00:00
<VirtualHost *:80>
2019-03-30 15:55:17 +00:00
ServerAdmin staticadventures@riseup.net
2019-03-26 23:41:03 +00:00
ServerName staticadventures.netlib.re
DocumentRoot /var/www/staticadventures.netlib.re
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
2019-05-25 14:13:46 +00:00
</Directorymatch>
RewriteEngine on
RewriteCond %{SERVER_NAME} =staticadventures.netlib.re
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
2019-03-26 23:41:03 +00:00
</VirtualHost>