add letsencrypt stuff

This commit is contained in:
2020-07-08 13:01:03 +00:00
parent 48b0afefa9
commit 285505c7ac
3 changed files with 19 additions and 0 deletions

View File

@ -18,6 +18,8 @@ SSLPassPhraseDialog builtin
SSLSessionCache "shmcb:/usr/local/apache2/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
MDCertificateAgreement accepted
# Example on usage on above LDAPAuthConfig macro
# <Location /pw>
@ -26,8 +28,11 @@ SSLSessionCacheTimeout 300
# Require ldap-group CN=...
# </Location>
#Listen 0.0.0.0:80
Listen 0.0.0.0:443
MDomain test.example.com
<VirtualHost 0.0.0.0:80>
ServerName test.example.com
Redirect / https://test.example.com