mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
apache: Drop support for GnuTLS
- We have switched to mod_ssl long time ago and are no longer using mod_gnutls. - It is additional effort configure and test mod_gnutls. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
34987c77bd
commit
e8c4e732ea
@ -1,25 +1,5 @@
|
||||
<Macro FreedomBoxTLSSiteMacro $domain>
|
||||
|
||||
# mod_gnutls default options. See /etc/apache2/sites-available/default-tls.conf
|
||||
<IfModule mod_gnutls.c>
|
||||
<VirtualHost _default_:443>
|
||||
ServerAdmin webmaster@localhost
|
||||
ServerName $domain
|
||||
DocumentRoot /var/www/html
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
|
||||
|
||||
GnuTLSEnable On
|
||||
|
||||
# Automatically obtained certificates from Let's Encrypt
|
||||
GnuTLSCertificateFile /etc/letsencrypt/live/$domain/fullchain.pem
|
||||
GnuTLSKeyFile /etc/letsencrypt/live/$domain/privkey.pem
|
||||
# See http://www.outoforder.cc/projects/httpd/mod_gnutls/docs/#GnuTLSPriorities
|
||||
GnuTLSPriorities NORMAL:-VERS-SSL3.0:-VERS-TLS1.0:-VERS-TLS1.1
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
|
||||
# mod_ssl default options. See /etc/apache2/sites-available/default-ssl.conf
|
||||
<IfModule mod_ssl.c>
|
||||
<VirtualHost _default_:443>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
##
|
||||
## Requires the following Apache modules to be enabled:
|
||||
## mod_rewrite
|
||||
## mod_ssl or mod_gnutls
|
||||
## mod_ssl
|
||||
##
|
||||
<Location /plinth>
|
||||
RewriteEngine on
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user