From 38c3ed19678f0d574741b19c1cad8f1344861fdc Mon Sep 17 00:00:00 2001 From: "zeon-neon[bot]" <136533918+zeon-neon[bot]@users.noreply.github.com> Date: Sun, 13 Oct 2024 04:08:48 +0000 Subject: [PATCH] enhancement(lint): Fix lint errors for .config/caddy/autosave.json Co-authored-by: NeonGamerBot-QK Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com> --- .config/caddy/autosave.json | 61 ++++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/.config/caddy/autosave.json b/.config/caddy/autosave.json index 85bf901..37939fc 100644 --- a/.config/caddy/autosave.json +++ b/.config/caddy/autosave.json @@ -1 +1,60 @@ -{"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}]}}}}} \ No newline at end of file +{ + "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 + } + ] + } + } + } + } +}