mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
apache: Disable mod_status
Prevent leaking private info through Tor onion service or Pagekite. Tests: - When starting plinth, apache setup is run. Status module is disabled, and apache2 is restarted. - sunil: After upgrade, status page is not available. - sunil: mod_status is available in stable (2.4.38-3+deb10u3) and testing/unstable (2.4.46-1). Closes: #1935. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org> Tested-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
085ed3444a
commit
822c322d20
2 files changed
+4
-1
No files matched your search
@@ -117,6 +117,9 @@ def subcommand_setup(arguments):
|
||||
webserver.enable('rewrite', kind='module')
|
||||
webserver.enable('macro', kind='module')
|
||||
|
||||
# Disable /server-status page to avoid leaking private info.
|
||||
webserver.disable('status', kind='module')
|
||||
|
||||
# switch to mod_ssl from mod_gnutls
|
||||
webserver.disable('gnutls', kind='module')
|
||||
webserver.enable('ssl', kind='module')
|
||||
|
||||
Reference in new issue
Block a user