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
Signed by: raucao
GPG Key ID: 15E65F399D084BA9
2 changed files with 4 additions and 4 deletions

View File

@ -18,8 +18,8 @@
},
"garage": {
"replication_mode": "2",
"s3_api_root_domain": ".s3.garage.kosmos.org",
"s3_web_root_domain": ".web.garage.kosmos.org",
"s3_api_root_domain": "s3.kosmos.org",
"s3_web_root_domain": "web.s3.kosmos.org",
"s3_web_domains": [
"s3.kosmos.social",
"s3.community.kosmos.org"

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]