Files
supabase/docker/deploy/caddy/Caddyfile
T
2023-06-05 20:29:00 -06:00

20 lines
626 B
Caddyfile

localhost
## API Server
## You can change this route to anything, however if you use /api/ then you will have conflicts
## with the NextJS API routes in the Dashboard
handle_path /proxy/* {
uri replace /proxy/ /
reverse_proxy 127.0.0.1:8000
}
# ## Dashboard
# ## MAKE SURE YOU CHANGE THE PASSWORD BELOW BEFORE UNCOMMENTING THIS SECTION.
# ## You can create a new password by running `caddy hash-password`
# handle_path /* {
# reverse_proxy 127.0.0.1:3000
# basicauth /* {
# supabase $2a$14$24w8H5T3D4hC74y6rdxgYOYqTna7K.zWbts/AheHuilnRrdPFGGhK ## IMPORTANT: CHANGE THIS PASSWORD
# }
# }