From 5aa86e9d13415b26f477923d0a0b6bc176bdda98 Mon Sep 17 00:00:00 2001 From: Bryan De Houwer Date: Thu, 21 Dec 2023 14:18:07 +0100 Subject: [PATCH 1/2] Increase nginx upload limit --- elkserver/mounts/nginx-config/full.bloodhound-conf.template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/elkserver/mounts/nginx-config/full.bloodhound-conf.template b/elkserver/mounts/nginx-config/full.bloodhound-conf.template index 3c635560..f0900e2c 100644 --- a/elkserver/mounts/nginx-config/full.bloodhound-conf.template +++ b/elkserver/mounts/nginx-config/full.bloodhound-conf.template @@ -37,6 +37,9 @@ server { # verify chain of trust of OCSP response using Root CA and Intermediate certs ssl_trusted_certificate ${TLS_NGINX_CA_PATH}; + # Increase upload limit + client_max_body_size 1500M; + location / { #auth_basic "Restricted Access"; #auth_basic_user_file /etc/nginx/conf.d/htpasswd.users; @@ -59,4 +62,4 @@ server { proxy_send_timeout 60s; proxy_read_timeout 60s; } -} \ No newline at end of file +} From 2ca16b6f76b911f8f38aa1cc5f9ffdcc2a6f881d Mon Sep 17 00:00:00 2001 From: Bryan De Houwer Date: Sat, 23 Dec 2023 21:27:10 +0100 Subject: [PATCH 2/2] Fix BH ports --- elkserver/install-elkserver.sh | 2 +- elkserver/redelk-full.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/elkserver/install-elkserver.sh b/elkserver/install-elkserver.sh index f1778f90..68ac5700 100755 --- a/elkserver/install-elkserver.sh +++ b/elkserver/install-elkserver.sh @@ -801,7 +801,7 @@ if [ $DRYRUN == "no" ]; then if [ ${WHATTOINSTALL} != "limited" ]; then echo " - Jupyter notebooks on /jupyter (user: redelk, pass:$CREDS_redelk)" | tee -a $LOGFILE echo " - Bloodhound community edition on https port 8443 (user: admin, pass:$BLOODHOUND_PASSWORD)" | tee -a $LOGFILE - echo " - Neo4J Browser port 7473 (user: neo4j, pass:$NEO4J_PASSWORD)" | tee -a $LOGFILE + echo " - Neo4J Browser port 7474 (user: neo4j, pass:$NEO4J_PASSWORD)" | tee -a $LOGFILE echo " - Neo4J using the BloodHound app on port 7687 (user: neo4j, pass:$NEO4J_PASSWORD)" | tee -a $LOGFILE fi echo "" | tee -a $LOGFILE diff --git a/elkserver/redelk-full.yml b/elkserver/redelk-full.yml index 768a7eee..a1b13db5 100644 --- a/elkserver/redelk-full.yml +++ b/elkserver/redelk-full.yml @@ -266,8 +266,8 @@ services: volumes: - bloodhound_data:/data ports: - - "${NEO4J_DB_PORT}:7474" - - "${NEO4J_WEB_PORT}:7687" + - "${NEO4J_WEB_PORT}:7474" + - "${NEO4J_DB_PORT}:7687" environment: - NEO4J_AUTH=${NEO4J_AUTH} - NEO4J_dbms_memory_heap_initial__size=${NEO4J_dbms_memory_heap_initial__size}