Spaces:
Sleeping
Sleeping
File size: 503 Bytes
0fff343 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | {
admin off
auto_https off
}
:7860 {
# Password gate for the whole Lab. Set LAB_USER and LAB_PASSWORD_HASH
# as environment variables / Fly secrets (see deploy/DEPLOY.md).
basic_auth {
{$LAB_USER} {$LAB_PASSWORD_HASH}
}
# Engine: /api/* is stripped to / and proxied to FastAPI.
# reverse_proxy streams Server-Sent Events without extra config.
handle_path /api/* {
reverse_proxy 127.0.0.1:8000
}
# Everything else is the Next.js front end.
handle {
reverse_proxy 127.0.0.1:3000
}
}
|