Compare commits
2 Commits
e9902c0aa9
...
cdcdf13a0e
Author | SHA1 | Date |
---|---|---|
urosm | cdcdf13a0e | |
urosm | 9640c96f1f |
|
@ -0,0 +1,20 @@
|
||||||
|
<VirtualHost *:80>
|
||||||
|
ServerName bavbavhaus.net
|
||||||
|
ServerAlias www.bavbavhaus.net
|
||||||
|
RewriteEngine on
|
||||||
|
RewriteCond %{SERVER_NAME} =www.bavbavhaus.net [OR]
|
||||||
|
RewriteCond %{SERVER_NAME} =bavbavhaus.net
|
||||||
|
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||||
|
</VirtualHost>
|
||||||
|
|
||||||
|
<VirtualHost *:443>
|
||||||
|
ServerName bavbavhaus.net
|
||||||
|
ServerAlias www.bavbavhaus.net
|
||||||
|
DocumentRoot /home/urosm/public_html/bavbavhaus.net
|
||||||
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||||
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
|
SSLCertificateFile /etc/letsencrypt/live/bavbavhaus.net/fullchain.pem
|
||||||
|
SSLCertificateKeyFile /etc/letsencrypt/live/bavbavhaus.net/privkey.pem
|
||||||
|
</VirtualHost>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
bantime = 1d
|
bantime = 1d
|
||||||
|
backend = systemd
|
||||||
|
|
||||||
[sshd]
|
[sshd]
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
Loading…
Reference in New Issue