Add marketing service to docker-compose configuration

This commit is contained in:
IGNY8 VPS (Salman)
2025-11-13 15:44:36 +00:00
parent b8645c0ada
commit ad9aba87d7
4 changed files with 269 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
:8020 {
# Enable compression
encode gzip zstd
# Set root to built files
root * /usr/share/caddy
# Authenticated app served under /app (if needed in future)
handle_path /app* {
uri strip_prefix /app
try_files {path} /index.html
file_server
}
# Marketing site is the public default
handle {
try_files {path} /marketing.html
file_server
}
}