diff --git a/tasks/req.yml b/tasks/req.yml index d51708d..e12f386 100644 --- a/tasks/req.yml +++ b/tasks/req.yml @@ -1,6 +1,7 @@ --- - name: install mandatory packages - package: + apt: + cache_valid_time: 3600 state: present name: - git diff --git a/templates/apache-intranet.conf b/templates/apache-intranet.conf index 398e567..57afa5e 100644 --- a/templates/apache-intranet.conf +++ b/templates/apache-intranet.conf @@ -22,12 +22,14 @@ SetEnv DEBUG 1 Options +FollowSymLinks - SSLEngine on - SSLProtocol all -SSLv2 - SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW - SSLCertificateFile {{ koha_apache_ssl_cert }} - SSLCertificateKeyFile {{ koha_apache_ssl_key }} - SSLCertificateChainFile {{ koha_apache_ssl_chain }} + + SSLEngine on + SSLProtocol all -SSLv2 + SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW + SSLCertificateFile {{ koha_apache_ssl_cert }} + SSLCertificateKeyFile {{ koha_apache_ssl_key }} + SSLCertificateChainFile {{ koha_apache_ssl_chain }} + ErrorDocument 400 /cgi-bin/koha/errors/400.pl ErrorDocument 401 /cgi-bin/koha/errors/401.pl diff --git a/templates/apache-opac.conf b/templates/apache-opac.conf index f4d2c2b..6881489 100644 --- a/templates/apache-opac.conf +++ b/templates/apache-opac.conf @@ -19,12 +19,14 @@ Include /etc/koha/apache-shared-opac-plack.conf - SSLEngine on - SSLProtocol all -SSLv2 - SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW - SSLCertificateFile {{ koha_apache_ssl_cert }} - SSLCertificateKeyFile {{ koha_apache_ssl_key }} - SSLCertificateChainFile {{ koha_apache_ssl_chain }} + + SSLEngine on + SSLProtocol all -SSLv2 + SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW + SSLCertificateFile {{ koha_apache_ssl_cert }} + SSLCertificateKeyFile {{ koha_apache_ssl_key }} + SSLCertificateChainFile {{ koha_apache_ssl_chain }} + Options -Indexes