From 3ead4ceafc462e55e5d19ea6f3923dc4bc2b646c Mon Sep 17 00:00:00 2001 From: "zeon-neon[bot]" <136533918+zeon-neon[bot]@users.noreply.github.com> Date: Sun, 22 Dec 2024 19:07:23 +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 d957d2f..eeca4ba 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.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 +{ + "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 + } + ] + } + } + } + } +}