Skip to content

Commit 77dde68

Browse files
authored
Merge pull request #112 from ByteInternet/tdgroot-patch-2
2 parents de5547a + d3cf2a4 commit 77dde68

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/hypernode-platform/nginx/how-to-configure-nginx-for-a-multistore.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ When you opt for using different domains for each storefront then it will be rel
3636
set $storecode "example_storecode";
3737
```
3838

39-
#### **Multistore in Combination with Varnish**
40-
41-
\***Attention**, If you have a multistore, with hypernode-manage-vhost enabled ANDyou are using Varnish. You'd have to add a `varnish.storecode` file with the same content to your vhost configuration as well. You could simply copy the **server.storecode**like: `cp server.storecode varnish.storecode`
39+
```{note}
40+
If you have a multistore, with hypernode-manage-vhost enabled AND you are using Varnish. You'd have to prefix the file with `varnish` instead of `server`, like `varnish.storecode`. This way these multistore requests will go through varnish and will then be rewritten accordingly with the `varnish.storecode` configuration.
41+
```
4242

4343
### Using Subdirectories
4444

@@ -67,7 +67,6 @@ Next to the correct Nginx configuration you will also need to create the subdire
6767
```bash
6868
ln -s /data/web/public /data/web/public/fr
6969
ln -s /data/web/public /data/web/public/nl
70-
7170
```
7271

7372
### Using a Combination of Different Domains and Subdirectories
@@ -103,7 +102,6 @@ Last but not least you will also need to create the subdirectories in the webroo
103102
```bash
104103
ln -s /data/web/public /data/web/public/fr
105104
ln -s /data/web/public /data/web/public/nl
106-
107105
```
108106

109107
## Example Setup

0 commit comments

Comments
 (0)