33 lines
1.0 KiB
Caddyfile
33 lines
1.0 KiB
Caddyfile
# Caddyfile for Azure Storage Emulator
|
|
# It uses /etc/hosts entries to route requests to the emulator
|
|
# Replace "__ACCOUNT_NAME__" with a desired storage account name if needed
|
|
__ACCOUNT_NAME__.blob.core.windows.net {
|
|
tls __AZURITE_STORAGE__/__ACCOUNT_NAME___cert.pem __AZURITE_STORAGE__/__ACCOUNT_NAME___key.pem
|
|
reverse_proxy https://__ACCOUNT_NAME__.blob.core.windows.net:10000 {
|
|
transport http {
|
|
tls
|
|
tls_trust_pool file __AZURITE_STORAGE__/ca_cert.pem
|
|
}
|
|
}
|
|
}
|
|
|
|
__ACCOUNT_NAME__.queue.core.windows.net {
|
|
tls __AZURITE_STORAGE__/__ACCOUNT_NAME___cert.pem __AZURITE_STORAGE__/__ACCOUNT_NAME___key.pem
|
|
reverse_proxy https://__ACCOUNT_NAME__.queue.core.windows.net:10001 {
|
|
transport http {
|
|
tls
|
|
tls_trust_pool file __AZURITE_STORAGE__/ca_cert.pem
|
|
}
|
|
}
|
|
}
|
|
|
|
__ACCOUNT_NAME__.table.core.windows.net {
|
|
tls __AZURITE_STORAGE__/__ACCOUNT_NAME___cert.pem __AZURITE_STORAGE__/__ACCOUNT_NAME___key.pem
|
|
reverse_proxy https://__ACCOUNT_NAME__.table.core.windows.net:10002 {
|
|
transport http {
|
|
tls
|
|
tls_trust_pool file __AZURITE_STORAGE__/ca_cert.pem
|
|
}
|
|
}
|
|
}
|