init app of test arena
This commit is contained in:
31
asf-cloud-server/testarena/Caddyfile
Normal file
31
asf-cloud-server/testarena/Caddyfile
Normal file
@@ -0,0 +1,31 @@
|
||||
testarena.nabd-co.com {
|
||||
# API and Auth
|
||||
handle /api/* {
|
||||
reverse_proxy backend:8000
|
||||
}
|
||||
handle /auth/* {
|
||||
reverse_proxy backend:8000
|
||||
}
|
||||
handle /admin/* {
|
||||
reverse_proxy backend:8000
|
||||
}
|
||||
handle /jobs/* {
|
||||
reverse_proxy backend:8000
|
||||
}
|
||||
|
||||
# WebSocket
|
||||
handle /ws/* {
|
||||
reverse_proxy backend:8000
|
||||
}
|
||||
|
||||
# Results (Mounted volume)
|
||||
handle /results/* {
|
||||
root * /srv
|
||||
file_server
|
||||
}
|
||||
|
||||
# Frontend
|
||||
handle {
|
||||
reverse_proxy frontend:80
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user