mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
monkeysphere: Fix regression with reading Apache configuration
Additional ')' got accidentally inserted into the augeas path to be read during a commit for routine styling (ed646d84a51ae2c54ed7950ce60cb9e9662ada71). Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
2f536dd065
commit
0597d991d9
@ -129,7 +129,7 @@ def get_https_keys(fingerprint_hash):
|
||||
# Read from FreedomBox configured domains with proper SSL certs.
|
||||
path = "/files/etc/apache2/sites-available//" \
|
||||
"directive[. = 'Use'][arg[1] = 'FreedomBoxTLSSiteMacro']"
|
||||
key_file = ("/files/etc/apache2//Macro[arg[1] = 'FreedomBoxTLSSiteMacro'])"
|
||||
key_file = ("/files/etc/apache2//Macro[arg[1] = 'FreedomBoxTLSSiteMacro']"
|
||||
"//VirtualHost/directive[. = 'GnuTLSKeyFile']/arg")
|
||||
key_file = aug.get(key_file)
|
||||
for match in aug.match(path):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user