plinth-infra/ngx/paper-k256-umm-gay.ts
2025-05-02 15:34:36 +00:00

16 lines
330 B
TypeScript

import ngx from "jsr:@char/ngx@0.1";
export const domain = "paper-k256.umm.gay"
export const config = ngx("server", [
[
`server_name ${domain}`,
...ngx.listen(),
...ngx.letsEncrypt(domain),
],
ngx("location /", [
`root /srv/www/${domain}/web`,
]),
]);
if (import.meta.main) console.log(config.build());