@@ -16,10 +16,10 @@ The difference lies in the bucket name placement.
1616
1717Path 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
2929In 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).
40402 . ** 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" ` .
42424 . ** Restart** : Restart the service (` systemctl restart rustfs ` ).
4343
4444### Port in Domain (Optional)
4545
4646If 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
5454This ensures that requests like:
5555
5656```
57- http://test.rustfs.com:9001/
57+ http://test.rustfs.yourdomain. com:9001/
5858```
5959
6060can be correctly resolved in Virtual Host Style mode.
0 commit comments