Delete static/Focal/nginx.conf
This commit is contained in:
@@ -1,81 +0,0 @@
|
|||||||
# Suggestions? => https://github.com/theraw/The-World-Is-Yours/issues
|
|
||||||
# Problems? => https://github.com/theraw/The-World-Is-Yours/issues
|
|
||||||
user nginx;
|
|
||||||
pid /var/run/nginx.pid;
|
|
||||||
worker_processes auto;
|
|
||||||
worker_rlimit_nofile 65535;
|
|
||||||
|
|
||||||
load_module /nginx/modules/ndk_http_module.so;
|
|
||||||
load_module /nginx/modules/ngx_http_lua_module.so;
|
|
||||||
load_module /nginx/modules/ngx_http_naxsi_module.so;
|
|
||||||
load_module /nginx/modules/ngx_http_modsecurity_module.so;
|
|
||||||
load_module /nginx/modules/ngx_http_testcookie_access_module.so;
|
|
||||||
|
|
||||||
events {
|
|
||||||
multi_accept on;
|
|
||||||
use epoll;
|
|
||||||
worker_connections 65535;
|
|
||||||
}
|
|
||||||
|
|
||||||
http {
|
|
||||||
# ////////////////////////////////////////////////////// #
|
|
||||||
# =================== LOAD LUA ========================= #
|
|
||||||
lua_package_path "/usr/twiylua/lib/lua/?.lua;;";
|
|
||||||
# =================== END LUA ========================== #
|
|
||||||
# ////////////////////////////////////////////////////// #
|
|
||||||
|
|
||||||
# ////////////////////////////////////////////////////// #
|
|
||||||
# =================== LOAD L7 ========================== #
|
|
||||||
include modsec/l7.conf;
|
|
||||||
# =================== END L7 =========================== #
|
|
||||||
# ////////////////////////////////////////////////////// #
|
|
||||||
|
|
||||||
# ////////////////////////////////////////////////////// #
|
|
||||||
# ===================== LOGS =========================== #
|
|
||||||
log_format main '$remote_addr |==| $status |==| $request |==| $time_local';
|
|
||||||
# =================== END LOGS ========================= #
|
|
||||||
# ////////////////////////////////////////////////////// #
|
|
||||||
|
|
||||||
# ////////////////////////////////////////////////////// #
|
|
||||||
# ==================== GENERAL ========================= #
|
|
||||||
client_body_buffer_size 2M;
|
|
||||||
client_header_buffer_size 2M;
|
|
||||||
client_body_timeout 90s;
|
|
||||||
client_header_timeout 90s;
|
|
||||||
client_max_body_size 2M;
|
|
||||||
keepalive_timeout 15s;
|
|
||||||
port_in_redirect off;
|
|
||||||
sendfile on;
|
|
||||||
server_names_hash_bucket_size 6969;
|
|
||||||
server_name_in_redirect off;
|
|
||||||
server_tokens off;
|
|
||||||
tcp_nodelay on;
|
|
||||||
tcp_nopush on;
|
|
||||||
types_hash_max_size 2048;
|
|
||||||
resolver 8.8.8.8 8.8.4.4;
|
|
||||||
default_type application/octet-stream;
|
|
||||||
include /nginx/mime.types;
|
|
||||||
# =================== END GENERAL ====================== #
|
|
||||||
# ////////////////////////////////////////////////////// #
|
|
||||||
|
|
||||||
# ////////////////////////////////////////////////////// #
|
|
||||||
# ==================== BACKENDS ======================== #
|
|
||||||
map $http_upgrade $connection_upgrade {
|
|
||||||
default upgrade;
|
|
||||||
'' close;
|
|
||||||
}
|
|
||||||
# Example Of Backend
|
|
||||||
#upstream varnish {
|
|
||||||
# zone tcp_servers 64k;
|
|
||||||
# server 10.10.10.39:80;
|
|
||||||
#}
|
|
||||||
# =================== END BACKENDS ===================== #
|
|
||||||
# ////////////////////////////////////////////////////// #
|
|
||||||
|
|
||||||
# ////////////////////////////////////////////////////// #
|
|
||||||
# ================ LOAD VHOST +CONFIGS ================= #
|
|
||||||
include live/*;
|
|
||||||
include modsec/naxi.core;
|
|
||||||
# =================== END CONFIGS ====================== #
|
|
||||||
# ////////////////////////////////////////////////////// #
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user