neb/servers/keymaker/docker-compose.d/custom/nginx/nginx.conf

38 lines
778 B
Nginx Configuration File
Raw Normal View History

user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
# docker resolver and quad9;
resolver 127.0.0.11 9.9.9.9 ipv6=off;
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
2023-10-26 14:45:33 +02:00
proxy_cache_path /tmp/cache keys_zone=cache:10m;
2023-10-26 14:30:28 +02:00
include /etc/nginx/conf.d/*.conf;
}