Skip to content

Commit 017c016

Browse files
authored
Change domain examples from 'rustfs.com' to 'rustfs.yourdomain.com' (#74)
Clarifies what configuration changes need to be made. I felt it was unclear exactly what rustfs.com was referring to.
1 parent 08e2a07 commit 017c016

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docs/integration/virtual.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ The difference lies in the bucket name placement.
1616

1717
Path Style is the default. In Path Style, the bucket name follows the endpoint.
1818

19-
Example (Bucket: `test`, Host: `rustfs.com`):
19+
Example (Bucket: `test`, Host: `rustfs.yourdomain.com`):
2020

2121
```
22-
http://rustfs.com/test
22+
http://rustfs.yourdomain.com/test
2323
```
2424

2525
**Note**: No configuration is required for Path Style.
@@ -28,33 +28,33 @@ http://rustfs.com/test
2828

2929
In Virtual Host Style, the bucket name is part of the domain.
3030

31-
Example (Bucket: `test`, Host: `rustfs.com`):
31+
Example (Bucket: `test`, Host: `rustfs.yourdomain.com`):
3232

3333
```
34-
http://test.rustfs.com/
34+
http://test.rustfs.yourdomain.com/
3535
```
3636

3737
### Configuration
3838

39-
1. **DNS**: Configure wildcard DNS resolution (e.g., `*.rustfs.com` -> Server IP).
39+
1. **DNS**: Configure wildcard DNS resolution (e.g., `*.rustfs.yourdomain.com` -> Server IP).
4040
2. **Configuration**: Modify the configuration file (Linux: `/etc/default/rustfs`, Docker/K8s: env vars).
41-
3. **Set Domain**: Set `RUSTFS_SERVER_DOMAINS = "rustfs.com"`.
41+
3. **Set Domain**: Set `RUSTFS_SERVER_DOMAINS = "rustfs.yourdomain.com"`.
4242
4. **Restart**: Restart the service (`systemctl restart rustfs`).
4343

4444
### Port in Domain (Optional)
4545

4646
If your domain is accessed **with an explicit port**, include the port number in `RUSTFS_SERVER_DOMAINS`.
4747

48-
Example (`rustfs.com:9001`):
48+
Example (`rustfs.yourdomain.com:9001`):
4949

5050
```ini
51-
RUSTFS_SERVER_DOMAINS = "rustfs.com:9001"
51+
RUSTFS_SERVER_DOMAINS = "rustfs.yourdomain.com:9001"
5252
```
5353

5454
This ensures that requests like:
5555

5656
```
57-
http://test.rustfs.com:9001/
57+
http://test.rustfs.yourdomain.com:9001/
5858
```
5959

6060
can be correctly resolved in Virtual Host Style mode.

0 commit comments

Comments
 (0)