This commit is contained in:
Saahil dutta 2024-12-22 19:07:06 +00:00
parent d6cbe8ac02
commit 9d7911b64d
6 changed files with 32 additions and 60 deletions

19
.bash_history Normal file
View file

@ -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

View file

@ -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}]}}}}}

2
.gitignore vendored
View file

@ -22,3 +22,5 @@ sent/* # all sent mail is there
.uptime-url
main.cron
.bolt-js-*
tailscale
.pm2

4
.wget-hsts Normal file
View file

@ -0,0 +1,4 @@
# HSTS 1.0 Known Hosts database for GNU Wget.
# Edit at your own risk.
# <hostname> <port> <incl. subdomains> <created> <max-age>
pkgs.tailscale.com 0 0 1734197669 31536000

5
.yarnrc Normal file
View file

@ -0,0 +1,5 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
lastUpdateCheck 1730675336652

View file

@ -0,0 +1 @@
did:plc:cxbavhtmcmu6ssravgtvf274