Use variable instead of hardcoding domain

The domain name is hardcoded exactly 12 times in just the letsencrypt
recipe.
This commit is contained in:
2019-03-15 12:37:20 +07:00
parent c3135402ad
commit a77580d6da
2 changed files with 17 additions and 12 deletions

View File

@@ -1,3 +1,8 @@
# Override to connect to the IPFS cluster proxy on port 9095
# (https://cluster.ipfs.io/documentation/composite-clusters/)
# FIXME api_port should come from the ipfs cookbook/attributes
# It has nothing to do with nginx
node.default['kosmos-ipfs']['nginx']['api_port'] = 5001
node.default['kosmos-ipfs']['nginx']['domain'] = "ipfs.kosmos.org"