mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
letsencrypt: Pre-enable necessary apache modules
To avoid restart during installation (although since letsencrypt is an essential app and this is not an issue). Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
c50e322cdb
commit
cf06aa3d56
@ -121,6 +121,7 @@ def subcommand_setup(arguments):
|
||||
webserver.enable('proxy_http', kind='module')
|
||||
webserver.enable('proxy_fcgi', kind='module')
|
||||
webserver.enable('rewrite', kind='module')
|
||||
webserver.enable('macro', kind='module')
|
||||
|
||||
# switch to mod_ssl from mod_gnutls
|
||||
webserver.disable('gnutls', kind='module')
|
||||
|
||||
@ -511,7 +511,6 @@ def setup_webserver_config(domain, webserver_change):
|
||||
with open(file_name, 'w') as file_handle:
|
||||
file_handle.write(APACHE_CONFIGURATION.format(domain=domain))
|
||||
|
||||
webserver_change.enable('macro', kind='module')
|
||||
webserver_change.enable('freedombox-tls-site-macro', kind='config')
|
||||
webserver_change.enable(domain, kind='site')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user