mirror of
https://github.com/netbootxyz/docker-netbootxyz.git
synced 2025-08-07 22:57:29 +02:00
Update nginx.conf
Changes for better compatibilty with Kubernetes and OKD/OpenShift
This commit is contained in:
parent
a71cffc531
commit
cebcccfd35
@ -4,7 +4,7 @@ pid /run/nginx.pid;
|
||||
include /etc/nginx/modules/*.conf;
|
||||
|
||||
events {
|
||||
worker_connections 768;
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
@ -18,6 +18,12 @@ http {
|
||||
default_type application/octet-stream;
|
||||
access_log /config/log/nginx/access.log;
|
||||
error_log /config/log/nginx/error.log;
|
||||
# Temporary directories for kubernetes changed to writeable folders
|
||||
client_body_temp_path /config/tmp/nginx/client-body;
|
||||
proxy_temp_path /config/tmp/nginx/proxy;
|
||||
fastcgi_temp_path /config/tmp/nginx/fastcgi;
|
||||
uwsgi_temp_path /config/tmp/nginx/uwsgi;
|
||||
scgi_temp_path /config/tmp/nginx/scgi;
|
||||
gzip on;
|
||||
gzip_disable "msie6";
|
||||
include /config/nginx/site-confs/*;
|
||||
|
Loading…
Reference in New Issue
Block a user