Monorepo for Aesthetic.Computer aesthetic.computer
at main 29 lines 580 B view raw
1events {} 2 3http { 4 include mime.types; 5 default_type application/octet-stream; 6 7 server { 8 listen 80; 9 server_name localhost; 10 11 location /hls/ { 12 alias /var/www/html/hls/; 13 types { 14 application/vnd.apple.mpegurl m3u8; 15 video/mp2t ts; 16 } 17 add_header Cache-Control no-cache; 18 add_header Access-Control-Allow-Origin *; 19 add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS'; 20 add_header Access-Control-Allow-Headers '*'; 21 } 22 23 location / { 24 root /var/www/html; 25 index index.html; 26 } 27 } 28} 29