server { listen 80; server_name {{ media_server_name }}; root /var/www/{{ media_server_name }}; error_page 404 403 /404.html; location / { add_header Cache-Control "no-store, no-cache, must-revalidate"; add_header Pragma "no-cache"; expires 0; } types { text/plain org; } location ~* \.vtt$ { add_header Cache-Control "no-cache, no-store, must-revalidate"; add_header Pragma "no-cache"; add_header Expires "0"; } }