frontend docker refactor
This commit is contained in:
parent
63e33a45b4
commit
8c7fb8c6bf
8 changed files with 30 additions and 30 deletions
13
frontend/Caddyfile
Normal file
13
frontend/Caddyfile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
:80 {
|
||||
# Backend
|
||||
handle /api/* {
|
||||
reverse_proxy recipes_backend:3000
|
||||
}
|
||||
|
||||
# Frontend
|
||||
handle {
|
||||
root * /srv/
|
||||
try_files {path} /index.html
|
||||
file_server
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue