plinth-infra/ngx/bfuse-filter-umm-gay.ts
2025-01-23 08:22:50 +00:00

17 lines
383 B
TypeScript

import ngx from "jsr:@char/ngx@0.1";
export const domain = "bfuse-filter.umm.gay"
export const config = ngx("server", [
[
`server_name ${domain}`,
...ngx.listen(),
...ngx.letsEncrypt(domain),
],
ngx("location /", [
"add_header Access-Control-Allow-Origin *",
`root /srv/www/${domain}/public`,
]),
]);
if (import.meta.main) console.log(config.build());