wrongmove/crawler/frontend/caddy_dev/Caddyfile

12 lines
691 B
Text
Raw Normal View History

# 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
}