summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/apache/httpd.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/apache/httpd.conf b/etc/apache/httpd.conf
index cfa0003..3dfd7c5 100644
--- a/etc/apache/httpd.conf
+++ b/etc/apache/httpd.conf
@@ -13,6 +13,7 @@ LogLevel warn
User apache
Group web
Listen 80
+Listen 443
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
@@ -46,6 +47,8 @@ LoadModule alias_module modules/mod_alias.so
LoadModule cache_module modules/mod_cache.so
LoadModule cache_disk_module modules/mod_cache_disk.so
LoadModule status_module modules/mod_status.so
+LoadModule ssl_module modules/mod_ssl.so
+LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
CacheRoot "/var/cache/apache2/"
CacheEnable disk /
@@ -73,6 +76,7 @@ StartServers 1
MaxSpareThreads 5
MaxRequestWorkers 9
ThreadsPerChild 3
+SSLSessionCache shmcb:/run/apache2/
AddType application/x-httpd-php .php
AddType text/xsl .xsl
@@ -119,3 +123,9 @@ PerlSetVar JavaScriptMinifier JavaScript::Minifier::XS
PerlModule CGI
PerlSendHeader On
</VirtualHost>
+<VirtualHost *:443>
+ ServerName gentoobrowse.randomdan.homeip.net
+ SSLEngine On
+ SSLCertificateFile /etc/letsencrypt/live/gentoobrowse.randomdan.homeip.net/cert.pem
+ SSLCertificateKeyFile /etc/letsencrypt/live/gentoobrowse.randomdan.homeip.net/privkey.pem
+</VirtualHost>