char/bio.char.lt
git clone https://git.t4t.associates/char/bio.char.lt
4915dd2
main
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], 11ngx ( "location /" , [ "root /srv/http/bio.char.lt/public" ]), 12]); 13 14export const path = "bio-char-lt.conf" ; 15 16if ( import . meta. main ) { 17config . write ( `/etc/nginx/http.d/ ${ path } ` ); 18}