fix: update Caddyfile.example to use __AZURITE_STORAGE__ for certificate and key paths
This commit is contained in:
@@ -2,31 +2,31 @@
|
|||||||
# It uses /etc/hosts entries to route requests to the emulator
|
# It uses /etc/hosts entries to route requests to the emulator
|
||||||
# Replace "__ACCOUNT_NAME__" with a desired storage account name if needed
|
# Replace "__ACCOUNT_NAME__" with a desired storage account name if needed
|
||||||
__ACCOUNT_NAME__.blob.core.windows.net {
|
__ACCOUNT_NAME__.blob.core.windows.net {
|
||||||
tls __AZURITE_DIR__/__ACCOUNT_NAME___cert.pem __AZURITE_DIR__/__ACCOUNT_NAME___key.pem
|
tls __AZURITE_STORAGE__/__ACCOUNT_NAME___cert.pem __AZURITE_STORAGE__/__ACCOUNT_NAME___key.pem
|
||||||
reverse_proxy https://__ACCOUNT_NAME__.blob.core.windows.net:10000 {
|
reverse_proxy https://__ACCOUNT_NAME__.blob.core.windows.net:10000 {
|
||||||
transport http {
|
transport http {
|
||||||
tls
|
tls
|
||||||
tls_trust_pool file __AZURITE_DIR__/ca_cert.pem
|
tls_trust_pool file __AZURITE_STORAGE__/ca_cert.pem
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
__ACCOUNT_NAME__.queue.core.windows.net {
|
__ACCOUNT_NAME__.queue.core.windows.net {
|
||||||
tls __AZURITE_DIR__/__ACCOUNT_NAME___cert.pem __AZURITE_DIR__/__ACCOUNT_NAME___key.pem
|
tls __AZURITE_STORAGE__/__ACCOUNT_NAME___cert.pem __AZURITE_STORAGE__/__ACCOUNT_NAME___key.pem
|
||||||
reverse_proxy https://__ACCOUNT_NAME__.queue.core.windows.net:10001 {
|
reverse_proxy https://__ACCOUNT_NAME__.queue.core.windows.net:10001 {
|
||||||
transport http {
|
transport http {
|
||||||
tls
|
tls
|
||||||
tls_trust_pool file __AZURITE_DIR__/ca_cert.pem
|
tls_trust_pool file __AZURITE_STORAGE__/ca_cert.pem
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
__ACCOUNT_NAME__.table.core.windows.net {
|
__ACCOUNT_NAME__.table.core.windows.net {
|
||||||
tls __AZURITE_DIR__/__ACCOUNT_NAME___cert.pem __AZURITE_DIR__/__ACCOUNT_NAME___key.pem
|
tls __AZURITE_STORAGE__/__ACCOUNT_NAME___cert.pem __AZURITE_STORAGE__/__ACCOUNT_NAME___key.pem
|
||||||
reverse_proxy https://__ACCOUNT_NAME__.table.core.windows.net:10002 {
|
reverse_proxy https://__ACCOUNT_NAME__.table.core.windows.net:10002 {
|
||||||
transport http {
|
transport http {
|
||||||
tls
|
tls
|
||||||
tls_trust_pool file __AZURITE_DIR__/ca_cert.pem
|
tls_trust_pool file __AZURITE_STORAGE__/ca_cert.pem
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user