add watch-party-2
This commit is contained in:
parent
563f7065a7
commit
a5f278ca36
4 changed files with 32 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "watch-party-2"]
|
||||
path = watch-party-2
|
||||
url = https://git.lavender.software/char/watch-party-2.git
|
|
@ -8,3 +8,4 @@ deno run ./pds-testing.ts > out/pds-testing.conf
|
|||
deno run ./charlotte-partners.ts > out/charlotte-partners.conf
|
||||
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
|
||||
|
|
27
ngx/hang-out-while-she-watches.ts
Normal file
27
ngx/hang-out-while-she-watches.ts
Normal file
|
@ -0,0 +1,27 @@
|
|||
import ngx from "jsr:@char/ngx@0.1";
|
||||
|
||||
export const config = ngx("", [
|
||||
ngx("map $http_upgrade $connection_upgrade", [
|
||||
"default upgrade",
|
||||
"'' close"
|
||||
]),
|
||||
[],
|
||||
ngx("server", [
|
||||
[
|
||||
"server_name hang.out.while.she.watches",
|
||||
...ngx.listen(),
|
||||
...ngx.letsEncrypt("hang.out.while.she.watches"),
|
||||
],
|
||||
ngx("location /", [
|
||||
"client_max_body_size 1G",
|
||||
"proxy_pass http://127.0.0.9:8524",
|
||||
"proxy_http_version 1.1",
|
||||
"proxy_set_header Upgrade $http_upgrade",
|
||||
"proxy_set_header Connection $connection_upgrade",
|
||||
"proxy_set_header Host $host",
|
||||
"proxy_read_timeout 300s",
|
||||
]),
|
||||
]),
|
||||
]);
|
||||
|
||||
if (import.meta.main) console.log(config.build());
|
1
watch-party-2
Submodule
1
watch-party-2
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 1363139bc048bdf02a174c7979121dfae7b7ad4e
|
Loading…
Reference in a new issue