Enhance emulator setup with Caddy support and update documentation
- Added Caddyfile example for HTTPS configuration. - Updated README to include Caddy as an optional component. - Modified make-certs.sh to use dynamic account names for certificate generation. - Improved add-account.sh to handle missing accounts.env file gracefully. - Enhanced run-server.sh to support Caddy integration and OAuth options.
This commit is contained in:
17
Caddyfile.example
Normal file
17
Caddyfile.example
Normal file
@@ -0,0 +1,17 @@
|
||||
# Caddyfile for Azure Storage Emulator
|
||||
# It uses /etc/hosts entries to route requests to the emulator
|
||||
# Replace "devstoreaccount1" with a desired storage account name if needed
|
||||
devstoreaccount1.blob.core.windows.net {
|
||||
tls storage/server_cert.pem storage/server_key.pem
|
||||
reverse_proxy localhost:10000
|
||||
}
|
||||
|
||||
devstoreaccount1.queue.core.windows.net {
|
||||
tls storage/server_cert.pem storage/server_key.pem
|
||||
reverse_proxy localhost:10001
|
||||
}
|
||||
|
||||
devstoreaccount1.table.core.windows.net {
|
||||
tls storage/server_cert.pem storage/server_key.pem
|
||||
reverse_proxy localhost:10002
|
||||
}
|
||||
Reference in New Issue
Block a user