add doc for deployment on web
This commit is contained in:
parent
339147e762
commit
3e9d3c838e
11 changed files with 309 additions and 469 deletions
34
server_config/api.oedb.cipherbliss.config.caddy
Normal file
34
server_config/api.oedb.cipherbliss.config.caddy
Normal 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
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue