fix caddyfile
All checks were successful
Build Docker / deploy (push) Successful in 1m6s
Build Docker / build (push) Successful in 36s

This commit is contained in:
2026-03-19 01:12:24 +03:00
parent 9c92a9c760
commit c762662231

View File

@@ -4,14 +4,19 @@ http://ru.homyk.space {
https://ru.homyk.space {
encode gzip
# --- API ---
handle /api/* {
reverse_proxy backend:{$PORT}
}
# --- Frontend ---
root * /srv
handle /auth/* {
root * /srv/auth
file_server
}
handle / {
root * /srv/main
file_server
}
log {
output file /data/logs/caddy.log {
@@ -20,7 +25,7 @@ https://ru.homyk.space {
roll_keep_for 72h
}
format json
}
}
}
https://music.homyk.space {
encode gzip