* chore: Add examples on how to deploy private registries * chore: example for private pypiserver with https * Allow DENO_CERT certificate with native workers * Add BUN_TLS_REJECT_UNAUTHORIZED
17 lines
398 B
Caddyfile
17 lines
398 B
Caddyfile
{$BASE_URL} {
|
|
bind {$ADDRESS}
|
|
tls /certs/caddy.crt /certs/caddy.key
|
|
handle_path /static/* {
|
|
root * /static/
|
|
file_server {
|
|
browse
|
|
}
|
|
}
|
|
handle_path /npm/* {
|
|
reverse_proxy * http://npm_registry:4873
|
|
}
|
|
handle_path /* {
|
|
reverse_proxy * http://pypi_server:8080
|
|
}
|
|
}
|