Add configs/nc.wittenberger.us-le-ssl.conf
This commit is contained in:
@@ -0,0 +1,42 @@
|
|||||||
|
<IfModule mod_ssl.c>
|
||||||
|
<VirtualHost *:443>
|
||||||
|
DocumentRoot "/var/www/nc.wittenberger.us"
|
||||||
|
ServerName nc.wittenberger.us
|
||||||
|
RemoteIPHeader X-Forwarded-For
|
||||||
|
RemoteIPTrustedProxy 10.10.14.199
|
||||||
|
RemoteIPTrustedProxy 173.245.48.0/20
|
||||||
|
RemoteIPTrustedProxy 103.21.244.0/22
|
||||||
|
RemoteIPTrustedProxy 103.22.200.0/22
|
||||||
|
RemoteIPTrustedProxy 103.31.4.0/22
|
||||||
|
RemoteIPTrustedProxy 141.101.64.0/18
|
||||||
|
RemoteIPTrustedProxy 108.162.192.0/18
|
||||||
|
RemoteIPTrustedProxy 190.93.240.0/20
|
||||||
|
RemoteIPTrustedProxy 188.114.96.0/20
|
||||||
|
RemoteIPTrustedProxy 197.234.240.0/22
|
||||||
|
RemoteIPTrustedProxy 198.41.128.0/17
|
||||||
|
RemoteIPTrustedProxy 162.158.0.0/15
|
||||||
|
RemoteIPTrustedProxy 104.16.0.0/13
|
||||||
|
RemoteIPTrustedProxy 104.24.0.0/14
|
||||||
|
RemoteIPTrustedProxy 172.64.0.0/13
|
||||||
|
RemoteIPTrustedProxy 131.0.72.0/22
|
||||||
|
|
||||||
|
<IfModule mod_headers.c>
|
||||||
|
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<Directory "/var/www/nc.wittenberger.us/">
|
||||||
|
Options MultiViews FollowSymlinks
|
||||||
|
AllowOverride All
|
||||||
|
Order allow,deny
|
||||||
|
Allow from all
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
TransferLog /var/log/apache2/nc.wittenberger.us_access.log
|
||||||
|
ErrorLog /var/log/apache2/nc.wittenberger.us_error.log
|
||||||
|
|
||||||
|
|
||||||
|
SSLCertificateFile /etc/letsencrypt/live/nc.wittenberger.us/fullchain.pem
|
||||||
|
SSLCertificateKeyFile /etc/letsencrypt/live/nc.wittenberger.us/privkey.pem
|
||||||
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
|
</VirtualHost>
|
||||||
|
</IfModule>
|
||||||
Reference in New Issue
Block a user