From 065aae6b215bde32114618402de2d52a75c7c469 Mon Sep 17 00:00:00 2001 From: diegolamaral Date: Sun, 6 Oct 2024 12:00:15 +0000 Subject: [PATCH] Remove duplicate role about Proxy --- core/files/configure_misp.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/core/files/configure_misp.sh b/core/files/configure_misp.sh index 54a260c..4e2c142 100755 --- a/core/files/configure_misp.sh +++ b/core/files/configure_misp.sh @@ -219,7 +219,7 @@ set_up_aad() { sudo -u www-data /var/www/MISP/app/Console/cake Admin setSetting -q "Security.require_password_confirmation" false } -set_session() { +set_up_session() { # Command to modify MISP session configuration sudo -u www-data php /var/www/MISP/tests/modify_config.php modify "{ \"Session\": { @@ -248,15 +248,6 @@ set_up_proxy() { fi } -set_up_proxy() { - if [[ "$PROXY_ENABLE" == "true" ]]; then - echo "... configuring proxy settings" - init_settings "proxy" - else - echo "... Proxy disabled" - fi -} - apply_updates() { # Disable 'ZeroMQ_enable' to get better logs when applying updates # sudo -u www-data /var/www/MISP/app/Console/cake Admin setSetting -q "Plugin.ZeroMQ_enable" false @@ -440,7 +431,7 @@ echo "MISP | Set Up LDAP ..." && set_up_ldap echo "MISP | Set Up AAD ..." && set_up_aad -echo "MISP | Set Up Session ..." && set_session +echo "MISP | Set Up Session ..." && set_up_session echo "MISP | Set Up Proxy ..." && set_up_proxy