add doc for deployment on web

This commit is contained in:
Tykayn 2025-09-18 14:50:30 +02:00 committed by tykayn
parent 339147e762
commit 3e9d3c838e
11 changed files with 309 additions and 469 deletions

View file

@ -0,0 +1,34 @@
# Caddyfile for OpenEventDatabase
# Configuration for oedb.cipherbliss.com and api.oedb.cipherbliss.com
# Main demo site - oedb.cipherbliss.com
oedb.cipherbliss.com {
# Log configuration
log {
output file /var/log/caddy/oedb.cipherbliss.com.log
format json
}
handle / {
reverse_proxy localhost:8080
}
}
# API site - api.oedb.cipherbliss.com
api.oedb.cipherbliss.com {
# Log configuration
log {
output file /var/log/caddy/api.oedb.cipherbliss.com.log
format json
}
# Handle all routes - proxy to backend
handle /* {
reverse_proxy localhost:8080
}
}