UNPKG

slush-source4

Version:

Source 4 generator

49 lines (41 loc) 1.49 kB
user www-data; pid /run/nginx/nginx.pid; worker_processes auto; worker_rlimit_nofile 8192; include modules-enabled/*.conf; events { worker_connections 8000; } http { server_tokens off; sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 20s; types_hash_max_size 2048; # Set logging log_format main_ext '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for" ' '"$host" sn="$server_name" ' 'rt=$request_time ' 'ua="$upstream_addr" us="$upstream_status" ' 'ut="$upstream_response_time" ul="$upstream_response_length" ' 'cs=$upstream_cache_status'; access_log /var/log/nginx/access.log main_ext; error_log /var/log/nginx/error.log warn; # Load configuration # Bizzarely, the following line does not work and a 404 is always returned. # include conf.d/*; include conf.d/add_referrer_policy.conf; include conf.d/add_timing_cors.conf; include conf.d/enable_gzip.conf; include conf.d/force_ie_rendering_mode.conf; include conf.d/no_sniff.conf; include conf.d/no_transform.conf; include conf.d/protect_against_xss.conf; include conf.d/set_charset.conf; include conf.d/set_mime_types.conf; # Load sites include sites-enabled/*; }