diff options
author | Alan Pearce | 2023-07-01 10:55:41 +0200 |
---|---|---|
committer | Alan Pearce | 2023-07-01 10:55:41 +0200 |
commit | b1c04b348443e4c75459b4612dfe2b3adfe455cc (patch) | |
tree | d9b17c70bbe4297a512616cba67ebb5e6e2554c5 | |
parent | 99b6d71c95aca662b9b3bad40cb4f320928dd42f (diff) | |
download | website-b1c04b348443e4c75459b4612dfe2b3adfe455cc.tar.lz website-b1c04b348443e4c75459b4612dfe2b3adfe455cc.tar.zst website-b1c04b348443e4c75459b4612dfe2b3adfe455cc.zip |
Only match requests to correct hostname
-rw-r--r-- | Caddyfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Caddyfile b/Caddyfile index df931b5..f69b86c 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,13 +1,14 @@ { admin off persist_config off + http_port 8080 } :9091 { metrics } -:8080 { +http://alanpearce.eu { root * {$SITE_ROOT} file_server { precompressed br zstd gzip |