diff options
author | Alan Pearce | 2023-07-01 07:34:41 +0200 |
---|---|---|
committer | Alan Pearce | 2023-07-01 07:34:41 +0200 |
commit | 57e251e122e0f0d54c90103380aa83f80f0651fb (patch) | |
tree | 90b2e6089c5397f18e3a00b88951b099fca5382c /Caddyfile | |
parent | a19a4d5172e0bc2be93b646600b6d7cd3c360f3d (diff) | |
download | website-57e251e122e0f0d54c90103380aa83f80f0651fb.tar.lz website-57e251e122e0f0d54c90103380aa83f80f0651fb.tar.zst website-57e251e122e0f0d54c90103380aa83f80f0651fb.zip |
Deploy to fly.io
Diffstat (limited to 'Caddyfile')
-rw-r--r-- | Caddyfile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Caddyfile b/Caddyfile index 6e62a6d..df931b5 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,5 +1,14 @@ -http:// { - root * public/ +{ + admin off + persist_config off +} + +:9091 { + metrics +} + +:8080 { + root * {$SITE_ROOT} file_server { precompressed br zstd gzip } |