tcp_nopush on; tcp_nodelay on; vod_segment_duration 2000; vod_manifest_segment_durations_mode accurate; vod_align_segments_to_key_frames on; vod_output_buffer_pool 64k 32; vod_dash_fragment_file_name_prefix "seg"; vod_hls_segment_file_name_prefix "seg"; # shared memory zones vod_response_cache vod_response_cache 128m; vod_metadata_cache vod_meta_cache 2048m; vod_performance_counters perf_counters; reset_timedout_connection on; send_timeout 20; # manifest compression gzip on; gzip_types application/vnd.apple.mpegurl video/f4m application/dash+xml text/xml text/vtt; gzip_proxied any; open_file_cache max=1000 inactive=10m; open_file_cache_valid 3m; open_file_cache_min_uses 1; open_file_cache_errors off; aio on; server { listen 80; server_name gdq-a.hls.edge.streaminginter.net; root /htdocs; include conf.d/cors.conf; vod_base_url https://gdq-a.hls.edge.streaminginter.net; location / { vod hls; } } server { listen 80; server_name gdq-a.dash.edge.streaminginter.net; root /htdocs; include conf.d/cors.conf; vod_base_url https://gdq-a.dash.edge.streaminginter.net; location / { vod dash; } } server { listen 80; server_name thumb-gdq-a.edge.streaminginter.net; root /htdocs; location / { vod thumb; expires 2d; access_log off; add_header Cache-Control "public"; } } server { listen 80; server_name gdq-a.upstream.streaminginter.net; root /htdocs; location ~ (.*\.(mp4|mkv|mp3|aac|ogg|mpg|ogv|oga|m4a|m4v|mov)) { add_header Content-disposition "attachment"; } }