mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
add logstash http_input support for nginx
remove cockpit support entirely cleanup / housekeeping
This commit is contained in:
8
docker/nginx/dist/conf/tpotweb.conf
vendored
8
docker/nginx/dist/conf/tpotweb.conf
vendored
@ -96,12 +96,7 @@ server {
|
||||
|
||||
location / {
|
||||
set_by_lua_block $index_file {
|
||||
local cockpit = os.getenv("COCKPIT")
|
||||
if cockpit == "false" then
|
||||
return "index_light.html"
|
||||
else
|
||||
return "index.html"
|
||||
end
|
||||
return "index.html";
|
||||
}
|
||||
auth_basic "closed site";
|
||||
auth_basic_user_file /etc/nginx/nginxpasswd;
|
||||
@ -149,6 +144,7 @@ server {
|
||||
return "http://127.0.0.1:64298";
|
||||
end
|
||||
}
|
||||
|
||||
proxy_pass $elasticsearch;
|
||||
rewrite /es/(.*)$ /$1 break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user