rename frontend directory to frontend
This commit is contained in:
parent
71a9b69e04
commit
c7d996dbeb
30 changed files with 1 additions and 1 deletions
11
crawler/frontend/caddy_dev/Caddyfile
Normal file
11
crawler/frontend/caddy_dev/Caddyfile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# We need https for the frontend to enable auth with external oidc
|
||||
https://devvm.viktorbarzin.lan:443 {
|
||||
tls "/home/wizard/code/realestate-crawler/crawler/wrongmove/caddy_dev/certs/dev.crt" "/home/wizard/code/realestate-crawler/crawler/wrongmove/caddy_dev/certs/dev.key"
|
||||
reverse_proxy http://devvm.viktorbarzin.lan:5173
|
||||
}
|
||||
|
||||
# We need https for the backend so that the frontend can send secure requests to the backend
|
||||
https://devvm.viktorbarzin.lan:443/api/* {
|
||||
tls "/home/wizard/code/realestate-crawler/crawler/wrongmove/caddy_dev/certs/dev.crt" "/home/wizard/code/realestate-crawler/crawler/wrongmove/caddy_dev/certs/dev.key"
|
||||
reverse_proxy http://devvm.viktorbarzin.lan:5001
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue