add crowdsec

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey
2023-05-17 15:46:38 +02:00
parent c1c111e709
commit 73842be397
5 changed files with 101 additions and 54 deletions

View File

@@ -4,8 +4,6 @@ pcre_jit on;
worker_processes auto;
error_log stderr;
quic_bpf on;
# Custom
include /data/nginx/custom/root.conf;
@@ -22,15 +20,13 @@ http {
include mime.types;
default_type text/plain;
lua_package_path "/usr/local/nginx/lib/lua/?.lua;;";
server_tokens build;
aio threads;
sendfile on;
quic_gso on;
#quic_retry on;
tcp_nopush on;
tcp_nodelay on;
http3_push_preload on;
client_max_body_size 0;
client_body_buffer_size 512k;
@@ -42,7 +38,7 @@ http {
gunzip on;
gzip_static on;
resolver localhost;
#resolver ;
fastcgi_index index.php;
index index.php index.html;
@@ -119,8 +115,6 @@ http {
}
stream {
quic_gso on;
#quic_retry on;
# Files generated by NPM
include /data/nginx/stream/*.conf;