Bugfixes for apache.

This commit is contained in:
Johan Björklund 2024-11-19 13:17:09 +01:00
parent 584afac619
commit 9ba0c2d382
Signed by: bjorklund
GPG key ID: 5E8401339C7F5037

View file

@ -193,6 +193,7 @@ class soc::intelmq(
command => 'a2enmod ssl wsgi proxy proxy_http headers rewrite',
require => Package['libapache2-mod-wsgi-py3'],
notify => Service['apache2'],
unless => ['test -f /etc/apache2/mods-enabled/headers.load', 'test -f /etc/apache2/mods-enabled/proxy.load', 'test -f /etc/apache2/mods-enabled/proxy_http.load', 'test -f /etc/apache2/mods-enabled/rewrite.load', 'test -f /etc/apache2/mods-enabled/ssl.load', 'test -f /etc/apache2/mods-enabled/wsgi.load', ],
}
file { '/etc/apache2/conf-available/wsgi-venv.conf':