enables cf-journex
The deployment in its current form is a hotfix. At the moment, quite a few changes to the sub-repo cf-journex are necessary.
This commit is contained in:
@@ -52,3 +52,25 @@ enricher.cortex.consider-funding.de {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# cf-journex (static files from shared volume)
|
||||
journex.cortex.consider-funding.de {
|
||||
import oauth2 journex.cortex.consider-funding.de {
|
||||
route {
|
||||
@apiExact path /api
|
||||
redir @apiExact /api/
|
||||
|
||||
handle_path /api/* {
|
||||
reverse_proxy journex-backend:7000
|
||||
}
|
||||
|
||||
handle /uploads/* {
|
||||
reverse_proxy journex-backend:7000
|
||||
}
|
||||
|
||||
root * /srv/journex
|
||||
try_files {path} /index.html
|
||||
file_server
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user