mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 22:55:39 +00:00
boring-nginx: change pid path
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
worker_processes auto;
|
||||
pid /var/run/nginx.pid;
|
||||
pid /tmp/nginx.pid;
|
||||
daemon off;
|
||||
pcre_jit on;
|
||||
|
||||
events {
|
||||
worker_connections 2048;
|
||||
worker_connections 2048;
|
||||
use epoll;
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ http {
|
||||
client_header_buffer_size 1k;
|
||||
client_max_body_size 8m;
|
||||
large_client_header_buffers 2 1k;
|
||||
|
||||
|
||||
aio threads;
|
||||
sendfile on;
|
||||
keepalive_timeout 15;
|
||||
@ -38,7 +38,7 @@ http {
|
||||
tcp_nodelay on;
|
||||
server_tokens off;
|
||||
more_set_headers 'Server: secret';
|
||||
|
||||
|
||||
gzip on;
|
||||
gzip_comp_level 5;
|
||||
gzip_min_length 512;
|
||||
@ -61,7 +61,7 @@ http {
|
||||
font/truetype
|
||||
font/opentype
|
||||
image/svg+xml;
|
||||
|
||||
|
||||
brotli on;
|
||||
brotli_static on;
|
||||
brotli_buffers 16 8k;
|
||||
|
Reference in New Issue
Block a user