57 lines
1.2 KiB
Text
Executable file
57 lines
1.2 KiB
Text
Executable file
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;
|
|
include /etc/angie/phpmyadmin.conf;
|
|
}
|