mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
tweaking for tpotlight
This commit is contained in:
7
docker/nginx/dist/conf/nginx.conf
vendored
7
docker/nginx/dist/conf/nginx.conf
vendored
@ -7,6 +7,7 @@ load_module /usr/lib/nginx/modules/ngx_http_brotli_static_module.so;
|
||||
|
||||
# OS ENV variables need to be defined here, so Lua can use them
|
||||
env COCKPIT;
|
||||
env TPOT_OSTYPE;
|
||||
|
||||
# Both modules are needed for Lua, in this exact order
|
||||
load_module /usr/lib/nginx/modules/ndk_http_module.so;
|
||||
@ -18,10 +19,10 @@ events {
|
||||
}
|
||||
|
||||
http {
|
||||
|
||||
##
|
||||
# Basic Settings
|
||||
##
|
||||
resolver 127.0.0.11;
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
@ -101,11 +102,11 @@ http {
|
||||
'"server_protocol": "$server_protocol", ' # request protocol, like HTTP/1.1 or HTTP/2.0
|
||||
'"pipe": "$pipe", ' # “p” if request was pipelined, “.” otherwise
|
||||
'"gzip_ratio": "$gzip_ratio", '
|
||||
'"http_cf_ray": "$http_cf_ray"'
|
||||
'"http_cf_ray": "$http_cf_ray", '
|
||||
'"proxy_host": "$proxy_host"'
|
||||
'}';
|
||||
|
||||
access_log /var/log/nginx/access.log main_json;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
##
|
||||
# Virtual Host Configs
|
||||
|
Reference in New Issue
Block a user