From 1e512af67c1a2dfd25f28b6647379070797d537d Mon Sep 17 00:00:00 2001 From: Charlotte Som Date: Fri, 2 May 2025 15:34:36 +0000 Subject: [PATCH] add paper-k256 --- ngx/build.sh | 1 + ngx/paper-k256-umm-gay.ts | 16 ++++++++++++++++ www/paper-k256.umm.gay/.gitignore | 1 + 3 files changed, 18 insertions(+) create mode 100644 ngx/paper-k256-umm-gay.ts create mode 100644 www/paper-k256.umm.gay/.gitignore diff --git a/ngx/build.sh b/ngx/build.sh index 8926198..b931532 100755 --- a/ngx/build.sh +++ b/ngx/build.sh @@ -10,3 +10,4 @@ deno run ./charlotte-partners-labeler.ts > out/charlotte-partners-labeler.conf deno run ./bfuse-filter-umm-gay.ts > out/bfuse-filter-umm-gay.conf deno run ./hang-out-while-she-watches.ts > out/hang-out-while-she-watches.conf deno run ./cocoon.ts > out/cocoon.conf +deno run ./paper-k256-umm-gay.ts > out/paper-k256-umm-gay.conf diff --git a/ngx/paper-k256-umm-gay.ts b/ngx/paper-k256-umm-gay.ts new file mode 100644 index 0000000..c533be7 --- /dev/null +++ b/ngx/paper-k256-umm-gay.ts @@ -0,0 +1,16 @@ +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()); diff --git a/www/paper-k256.umm.gay/.gitignore b/www/paper-k256.umm.gay/.gitignore new file mode 100644 index 0000000..1c400a7 --- /dev/null +++ b/www/paper-k256.umm.gay/.gitignore @@ -0,0 +1 @@ +/web