char/bio.char.lt

git clone https://git.t4t.associates/char/bio.char.lt

videogame hackerupdate ngx path variable4915dd2

main
415 B18 linesraw
1#!/usr/bin/env -S deno run -A
2
3import ngx from "https://char.lt/ngx/ngx.ts?v=1";
4
5export const config = ngx("server", [
6  [
7    "server_name bio.char.lt",
8    ...ngx.listen(),
9    ...ngx.letsEncrypt("bio.char.lt"),
10  ],
11  ngx("location /", ["root /srv/http/bio.char.lt/public"]),
12]);
13
14export const path = "bio-char-lt.conf";
15
16if (import.meta.main) {
17  config.write(`/etc/nginx/http.d/${path}`);
18}