34 lines
648 B
Text
34 lines
648 B
Text
![]() |
# 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
|
||
|
}
|
||
|
}
|