tweaking nginx, ddospot:

- Remove ddospot from standard
- Add ddospot only to tarpit
- Decouple nginx from host mode, only export tcp/64297, tcp/64294
- Adjust editions accordingly
- Keep LUA settings in Nginx config for now, just in case we find a different use case
This commit is contained in:
t3chn0m4g3
2024-12-09 17:38:25 +01:00
parent a67a765dd7
commit e43e8277fc
10 changed files with 136 additions and 128 deletions

View File

@ -101,7 +101,7 @@ server {
if tpot_ostype == "mac" or tpot_ostype == "win" then
return "http://logstash:64305";
else
return "http://127.0.0.1:64305";
return "http://logstash:64305";
end
}
access_log off;

View File

@ -128,7 +128,7 @@ server {
if tpot_ostype == "mac" or tpot_ostype == "win" then
return "http://kibana:5601";
else
return "http://127.0.0.1:64296";
return "http://kibana:5601";
end
}
proxy_pass $kibana;
@ -142,7 +142,7 @@ server {
if tpot_ostype == "mac" or tpot_ostype == "win" then
return "http://elasticsearch:9200";
else
return "http://127.0.0.1:64298";
return "http://elasticsearch:9200";
end
}
@ -157,7 +157,7 @@ server {
if tpot_ostype == "mac" or tpot_ostype == "win" then
return "http://map_web:64299";
else
return "http://127.0.0.1:64299";
return "http://map_web:64299";
end
}
proxy_pass $map_web;
@ -175,7 +175,7 @@ server {
if tpot_ostype == "mac" or tpot_ostype == "win" then
return "http://map_web:64299";
else
return "http://127.0.0.1:64299";
return "http://map_web:64299";
end
}
proxy_pass $map_web;
@ -193,7 +193,7 @@ server {
if tpot_ostype == "mac" or tpot_ostype == "win" then
return "http://spiderfoot:8080";
else
return "http://127.0.0.1:64303";
return "http://spiderfoot:8080";
end
}
location /spiderfoot/ {