Shorten root domains for external Garage S3 and Web access

And move the configuration-specific preceding dot to the config
template.
This commit is contained in:
Râu Cao
2023-10-10 16:33:28 +02:00
parent 3505212e92
commit 832075dfb2
2 changed files with 4 additions and 4 deletions

View File

@@ -11,11 +11,11 @@ rpc_secret = "<%= @rpc_secret %>"
[s3_api]
s3_region = "<%= @s3_region %>"
api_bind_addr = "[::]:<%= @s3_api_port %>"
root_domain = "<%= @s3_api_root_domain %>"
root_domain = ".<%= @s3_api_root_domain %>"
[s3_web]
bind_addr = "[::]:<%= @s3_web_port %>"
root_domain = "<%= @s3_web_root_domain %>"
root_domain = ".<%= @s3_web_root_domain %>"
index = "index.html"
[k2v_api]