Skip to content

Commit 79de2e0

Browse files
committed
docs: Add note about server host name
1 parent b2bf79c commit 79de2e0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/content/docs/2.getting-started/3.preparing-your-servers-for-spin.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,10 @@ apt -y update && apt -y upgrade && apt -y autoremove && apt -y autoclean && rebo
9999
```
100100
::
101101

102-
103102
## Configure server inventory and settings
103+
::note
104+
If your files are encrypted, you need to use the [`spin vault edit`](/docs/command-reference/vault) command to edit the file. This will decrypt the file, open it in your default editor, and then re-encrypt it when you save and close the file.
105+
::
104106
Assuming you've already ran [`spin new`](/docs/command-reference/new) or [`spin init`](/docs/command-reference/init) in your project, there are two files that will need to be configured:
105107
- `.spin-inventory.ini`
106108
- `.spin.yml`
@@ -109,7 +111,7 @@ Assuming you've already ran [`spin new`](/docs/command-reference/new) or [`spin
109111
We call the list of our servers "inventory". This follows the [Ansible Inventory format](https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html). For example, if you wanted to add `server01.example.com` as the production server, we would configure our file to look like this and add this server to go underneath the `production_manager_servers` group:
110112

111113
::note
112-
If your files are encrypted, you need to use the [`spin vault edit`](/docs/command-reference/vault) command to edit the file. This will decrypt the file, open it in your default editor, and then re-encrypt it when you save and close the file.
114+
Be sure to use your **server's hostname** (NOT your application's **domain name**) in the inventory file. This will ensure we have a dedicated DNS entry for managing your server.
113115
::
114116

115117
::code-panel

0 commit comments

Comments
 (0)