Config files for my server. Except not my secrets

change knot ssh port internally and fix landing bug ig?

vielle.dev ec82ff86 ed63d2fe

verified
Changed files
+9 -8
landing
src
pds
+1 -1
compose.yaml
··· 50 50 image: nginx 51 51 restart: unless-stopped 52 52 ports: 53 - - 22001:2222 53 + - 22001:22001 54 54 volumes: 55 55 - ./nginx.conf:/etc/nginx/nginx.conf 56 56
+6 -5
landing/src/pds/pds.ts
··· 21 21 ) 22 22 .then((res) => res.json()) 23 23 .then((res) => didDocSchema.safeParse(res).data) 24 - .then( 25 - (doc) => 26 - doc.alsoKnownAs 27 - .filter((x) => x.startsWith("at://"))[0] 28 - ?.replace("at://", "") ?? "handle.invalid" 24 + .then((doc) => 25 + doc 26 + ? (doc.alsoKnownAs 27 + .filter((x) => x.startsWith("at://"))[0] 28 + ?.replace("at://", "") ?? "handle.invalid") 29 + : "handle.invalid" 29 30 ) 30 31 .catch(() => "handle.invalid"); 31 32
+2 -2
nginx.conf
··· 9 9 10 10 stream { 11 11 upstream knot-ssh { 12 - server pi:2222; 12 + server pi:22001; 13 13 } 14 14 15 15 server { 16 - listen 2222; 16 + listen 22001; 17 17 proxy_pass knot-ssh; 18 18 } 19 19 }