hackclub-nest/.config/caddy/autosave.json
zeon-neon[bot] 38c3ed1967
enhancement(lint): Fix lint errors for .config/caddy/autosave.json
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-10-13 04:08:48 +00:00

60 lines
1.7 KiB
JSON

{
"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
}
]
}
}
}
}
}