fix caddyfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user