fix(k8s/archmirror): keep nginx responsive when NFS is slow
This commit is contained in:
@@ -6,6 +6,8 @@ metadata:
|
|||||||
namespace: archmirror
|
namespace: archmirror
|
||||||
data:
|
data:
|
||||||
nginx.conf: |
|
nginx.conf: |
|
||||||
|
worker_processes auto;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
}
|
}
|
||||||
@@ -15,6 +17,8 @@ data:
|
|||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
|
|
||||||
sendfile on;
|
sendfile on;
|
||||||
|
# NFS reads block the worker; offload them so /health keeps answering
|
||||||
|
aio threads;
|
||||||
gzip on;
|
gzip on;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|||||||
Reference in New Issue
Block a user