about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-07-01 10:55:41 +0200
committerAlan Pearce2023-07-01 10:55:41 +0200
commitb1c04b348443e4c75459b4612dfe2b3adfe455cc (patch)
treed9b17c70bbe4297a512616cba67ebb5e6e2554c5
parent99b6d71c95aca662b9b3bad40cb4f320928dd42f (diff)
downloadwebsite-b1c04b348443e4c75459b4612dfe2b3adfe455cc.tar.lz
website-b1c04b348443e4c75459b4612dfe2b3adfe455cc.tar.zst
website-b1c04b348443e4c75459b4612dfe2b3adfe455cc.zip
Only match requests to correct hostname
-rw-r--r--Caddyfile3
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