Skip to content

Commit

Permalink
caddy: add files vhost
Browse files Browse the repository at this point in the history
  • Loading branch information
kahnwong committed Oct 30, 2024
1 parent d186a99 commit 23905bf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions caddy/config/Caddyfile.misc → caddy/config/misc.Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ proxmox.karnwong.me {
}
}
}
files.karnwong.me {
root * /opt/files
file_server browse
}
1 change: 1 addition & 0 deletions cloudflare/dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ locals {
"chat-with-table",
"console.minio",
"dashy",
"files",
"gatus",
"git",
"harbor",
Expand Down
2 changes: 1 addition & 1 deletion scripts/caddy_reload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ git reset origin/master --hard
cd /home/ubuntu/self-hosted/caddy/config || exit 1

cat Caddyfile >all.Caddyfile
cat Caddyfile.misc >>all.Caddyfile
cat misc.Caddyfile >>all.Caddyfile

{
echo -e "\n"
Expand Down

0 comments on commit 23905bf

Please sign in to comment.