mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 17:17:28 -04:00
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:
2
docker/nginx/dist/conf/lsweb.conf
vendored
2
docker/nginx/dist/conf/lsweb.conf
vendored
@ -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;
|
||||
|
10
docker/nginx/dist/conf/tpotweb.conf
vendored
10
docker/nginx/dist/conf/tpotweb.conf
vendored
@ -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/ {
|
||||
|
Reference in New Issue
Block a user