2025-11-04
This commit is contained in:
parent
e4eaf6404a
commit
71c35a497f
1626 changed files with 5652 additions and 1933 deletions
56
containers/conf/angie/angie.conf
Executable file
56
containers/conf/angie/angie.conf
Executable file
|
|
@ -0,0 +1,56 @@
|
|||
worker_processes 1;
|
||||
user root;
|
||||
|
||||
# Modules
|
||||
include /etc/angie/modules-enabled/*.conf;
|
||||
|
||||
pcre_jit on;
|
||||
pid /run/angie.pid;
|
||||
error_log /dev/stdout info;
|
||||
|
||||
events {
|
||||
worker_connections 2048;
|
||||
multi_accept on;
|
||||
use epoll;
|
||||
}
|
||||
|
||||
http {
|
||||
############# Angie conf
|
||||
include /etc/angie/mime.types;
|
||||
include /etc/angie/compression.conf;
|
||||
include /etc/angie/fastcgi.conf;
|
||||
|
||||
error_log /dev/stdout info;
|
||||
|
||||
aio threads;
|
||||
aio_write on;
|
||||
directio 256k;
|
||||
sendfile on;
|
||||
sendfile_max_chunk 256k;
|
||||
server_names_hash_bucket_size 128;
|
||||
tcp_nodelay on;
|
||||
tcp_nopush on;
|
||||
|
||||
http2 on;
|
||||
|
||||
source_charset utf-8; # same value as "charset"
|
||||
|
||||
############## Let Angie see client real IPs
|
||||
real_ip_header X-Forwarded-For;
|
||||
set_real_ip_from traefik;
|
||||
|
||||
############## Angie security
|
||||
client_body_buffer_size 10K;
|
||||
client_body_timeout 12;
|
||||
client_header_buffer_size 1k;
|
||||
client_header_timeout 12;
|
||||
client_max_body_size 8M;
|
||||
keepalive_timeout 15;
|
||||
large_client_header_buffers 4 8k;
|
||||
proxy_hide_header X-Powered-By;
|
||||
send_timeout 10;
|
||||
server_tokens off;
|
||||
|
||||
############# WP conf
|
||||
include /etc/angie/haikuatelier.conf;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue