Attainly/Caddyfile
Yisroel Baum 83ca2cf43c
add nix development environment
Provide a direnv-loaded Laravel and future Vue toolchain with isolated worktree ports and a process-compose stack. Use PostgreSQL for local runtime services while retaining in-memory SQLite for PHPUnit.
2026-07-30 22:54:20 +03:00

17 lines
268 B
Caddyfile

{
auto_https off
admin off
}
localhost:{$CADDY_PORT:8000}, 127.0.0.1:{$CADDY_PORT:8000} {
tls .cert/localhost.pem .cert/localhost-key.pem
handle /storage/* {
root * backend/public
file_server
}
handle {
reverse_proxy 127.0.0.1:{$BACKEND_PORT:8001}
}
}