{ enableACME = true; addSSL = true; quic = true; http3 = true; http3_hq = true; kTLS = true; root = "/data/nginx/html_mru"; reuseport = true; extraConfig = '' brotli off; ''; locations = { "/" = { index = "index.html"; extraConfig = '' more_set_headers 'Access-Control-Allow-Origin: *'; more_set_headers 'Access-Control-Allow-Methods: *'; more_set_headers 'Access-Control-Allow-Headers: *'; more_set_headers 'Access-Control-Expose-Headers: *'; more_set_headers 'Access-Control-Max-Age' 1728000; # default to /index.html if file not found try_files $uri $uri/ /index.html; ''; }; }; }