Merge branch 'feat/spotify-bot' of https://github.com/NeonGamerBot-QK/hackclub-nest into feat/spotify-bot

This commit is contained in:
Saahil dutta 2024-11-03 17:59:20 -05:00
commit 980338e24b
6 changed files with 69 additions and 13 deletions

View file

@ -1 +1,60 @@
{"admin":{"listen":"unix//home/neon/caddy-admin.sock"},"apps":{"http":{"servers":{"srv0":{"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.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
}
]
}
}
}
}
}

8
.gitignore vendored
View file

@ -1,8 +1,12 @@
*.sock
.npm
.config/git
.config/pulse # tokens
Mail # mail sent to neon@hackclub.app is here
sent # all sent mail is there
.config/caddy
Mail
sent
Mail/* # mail sent to neon@hackclub.app is here
sent/* # all sent mail is there
.bun
.local
.nix-profile

1
.lesshst Normal file
View file

@ -0,0 +1 @@
.less-history-file:

1
Mail/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*

1
sent/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*

View file

@ -1,10 +0,0 @@
Date: Fri, 13 Sep 2024 01:41:52 +0000
From: neon <neon@hackclub.app>
To: neon@saahild.com
Subject: Hi
Message-ID: <ZuOYYH41PzEkqYrv@hackclub.app>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hello World!