From 9d7911b64da935d0670ad236e412164c77cef9f4 Mon Sep 17 00:00:00 2001 From: Neon Date: Sun, 22 Dec 2024 19:07:06 +0000 Subject: [PATCH] oops --- .bash_history | 19 ++++++++++++ .config/caddy/autosave.json | 61 +------------------------------------ .gitignore | 2 ++ .wget-hsts | 4 +++ .yarnrc | 5 +++ pub/.well-known/atproto-did | 1 + 6 files changed, 32 insertions(+), 60 deletions(-) create mode 100644 .bash_history create mode 100644 .wget-hsts create mode 100644 .yarnrc create mode 100644 pub/.well-known/atproto-did diff --git a/.bash_history b/.bash_history new file mode 100644 index 0000000..fadda2f --- /dev/null +++ b/.bash_history @@ -0,0 +1,19 @@ +tar -xzf tailscale_amd64.tgz +curl https://tailscale.com/install.sh +curl https://tailscale.com/install.sh +curl https://tailscale.com/install.sh | grep amd64 +uname -a +neofetch +ls +pwd +tailscale up +systemctl --user start tailscaled +ls +tailscale +tailscale login +tailscaled +tailscale +tailscale up +systemctl start --user tailscaled +exir +exit diff --git a/.config/caddy/autosave.json b/.config/caddy/autosave.json index 37939fc..d957d2f 100644 --- a/.config/caddy/autosave.json +++ b/.config/caddy/autosave.json @@ -1,60 +1 @@ -{ - "admin": { "listen": "unix//home/neon/caddy-admin.sock" }, - "apps": { - "http": { - "servers": { - "srv0": { - "automatic_https": { "skip": ["spotify.hackclub.app"] }, - "listen": ["unix/.spotify.neon.hackclub.app.webserver.sock|777"], - "routes": [ - { - "handle": [ - { - "handler": "subroute", - "routes": [ - { - "handle": [ - { - "handler": "reverse_proxy", - "upstreams": [{ "dial": "localhost:38275" }] - } - ] - } - ] - } - ], - "match": [{ "host": ["spotify.hackclub.app"] }], - "terminal": true - } - ] - }, - "srv1": { - "automatic_https": { "skip": ["neon.hackclub.app"] }, - "listen": ["unix/.webserver.sock|777"], - "routes": [ - { - "handle": [ - { - "handler": "subroute", - "routes": [ - { - "handle": [ - { "handler": "vars", "root": "/home/neon/pub" }, - { - "handler": "file_server", - "hide": [".git", ".env", "/home/neon/Caddyfile"] - } - ] - } - ] - } - ], - "match": [{ "host": ["neon.hackclub.app"] }], - "terminal": true - } - ] - } - } - } - } -} +{"admin":{"listen":"unix//home/neon/caddy-admin.sock"},"apps":{"http":{"servers":{"srv0":{"automatic_https":{"skip":["spotify.neon.hackclub.app"]},"listen":["unix/.spotify.sock|777"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"localhost:37935"}]}]}]}],"match":[{"host":["spotify.neon.hackclub.app"]}],"terminal":true}]},"srv1":{"automatic_https":{"skip":["neon.hackclub.app"]},"listen":["unix/.webserver.sock|777"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/neon/pub"},{"handler":"file_server","hide":[".git",".env","/home/neon/Caddyfile"]}]}]}],"match":[{"host":["neon.hackclub.app"]}],"terminal":true}]}}}}} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 3cdbf3d..f223848 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ sent/* # all sent mail is there .uptime-url main.cron .bolt-js-* +tailscale +.pm2 diff --git a/.wget-hsts b/.wget-hsts new file mode 100644 index 0000000..846d065 --- /dev/null +++ b/.wget-hsts @@ -0,0 +1,4 @@ +# HSTS 1.0 Known Hosts database for GNU Wget. +# Edit at your own risk. +# +pkgs.tailscale.com 0 0 1734197669 31536000 diff --git a/.yarnrc b/.yarnrc new file mode 100644 index 0000000..ed4c352 --- /dev/null +++ b/.yarnrc @@ -0,0 +1,5 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +lastUpdateCheck 1730675336652 diff --git a/pub/.well-known/atproto-did b/pub/.well-known/atproto-did new file mode 100644 index 0000000..0f0a7b9 --- /dev/null +++ b/pub/.well-known/atproto-did @@ -0,0 +1 @@ +did:plc:cxbavhtmcmu6ssravgtvf274