github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/containers/ddev-nginx-proxy-router/etc/nginx/nginx.conf (about) 1 2 user nginx; 3 worker_processes auto; 4 5 error_log /var/log/nginx/error.log warn; 6 pid /var/run/nginx.pid; 7 8 events { 9 worker_connections 1024; 10 } 11 12 13 http { 14 server_names_hash_bucket_size 128; 15 # As of 2020-11, google.com still supports TLSv1 and TLSv1.1, so continuing to support 16 ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; 17 include /etc/nginx/mime.types; 18 default_type application/octet-stream; 19 20 log_format main '$remote_addr - $remote_user [$time_local] "$request" ' 21 '$status $body_bytes_sent "$http_referer" ' 22 '"$http_user_agent" "$http_x_forwarded_for"'; 23 24 access_log /var/log/nginx/access.log main; 25 26 sendfile on; 27 #tcp_nopush on; 28 29 keepalive_timeout 65; 30 large_client_header_buffers 4 16k; 31 32 #gzip on; 33 34 include /etc/nginx/conf.d/*.conf; 35 } 36 daemon off;