Skip to content

Commit d37ed38

Browse files
authored
Merge branch 'master' into update-some-legacy-documentation
2 parents ae0c0b9 + 18110c8 commit d37ed38

15 files changed

+109
-339
lines changed

docs/best-practices/testing/how-to-go-live-with-your-hypernode.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,6 @@ Flush the cache of Magento on the Hypernode. (`magerun cache:flush`)
7373

7474
## Step 7: Set up Hypernode Managed Vhosts
7575

76-
The Hypernode Managed Vhosts (HMV) system is currently enabled by default on all new booted Hypernodes (all Hypernodes created after 01-05-2020).
77-
78-
Check if you have HMV enabled by running this command:
79-
80-
```console
81-
app@abcdef-example-magweb-cmbl:~$ hypernode-systemctl settings managed_vhosts_enabled
82-
managed_vhosts_enabled is set to value True
83-
```
84-
85-
If this is not enabled, skip the part below.
86-
8776
Due to this configuration it is required to add a new vhost for every domain you want to link to your Hypernode. So you need to configure your DNS correctly and add a new vhost for the domain.
8877

8978
To add a new vhost, for example the domainname [www.example.com](http://www.example.com), to your configuration, you can simply run the command `hypernode-manage-vhosts www.example.com`. This will create a new vhost configuration in `/data/web/nginx/www.example.com/`, using the Magento 2 template.

docs/ecommerce-applications/akeneo/how-to-install-akeneo-3-on-hypernode.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,9 @@ redirect_from:
1414

1515
Akeneo 3 preferably requires a Hypernode Pelican L, Falcon M, Eagle M hosting plan or larger. You can either choose to install it on a seperate Hypernode instance or on the same Hypernode as your Magento or Shopware installation. If you choose the latter you have to make sure that you have enough resources (disk space, memory and CPU) left. Furthermore you need to make sure that you are already using **MySQL 5.7, PHP 7.2 and Elasticsearch 6.x**, so it won’t affect your shop negatively. Installing Akeneo version 3.x may take up to 15 minutes.
1616

17-
## Enable managed_vhosts
17+
## Managed Vhosts
1818

19-
All new Hypernodes (from April 2020) will automatically be booted with [Hypernode Managed Vhosts](../../hypernode-platform/nginx/hypernode-managed-vhosts.md). If you already have an older Hypernode, then you need to enable Hypernode Managed Vhosts by running the following command:
20-
21-
```bash
22-
hypernode-systemctl settings managed_vhosts_enabled True
23-
```
19+
Hypernode uses [Hypernode Managed Vhosts](../../hypernode-platform/nginx/hypernode-managed-vhosts.md). Ensure you have a vhost for your Akeneo domain.
2420

2521
## Create a Managed_vhost for a (Sub)Domain
2622

docs/ecommerce-applications/akeneo/how-to-install-akeneo-4-on-hypernode.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,9 @@ redirect_from:
1515

1616
Akeneo 4 preferably requires a Hypernode Pelican L, Falcon M, Eagle M hosting plan or larger. You can either choose to install it on a seperate Hypernode instance or on the same Hypernode as your Magento or Shopware installation. If you choose the latter you have to make sure that you have enough resources (disk space, memory and CPU) left. Furthermore you need to make sure that you are already using **MySQL 8.0, PHP 7.3 and Elasticsearch 7.x**, so it won’t affect your shop negatively. Installing Akeneo version 4.x may take up to 15 minutes.
1717

18-
## Enable managed_vhosts
18+
## Managed Vhosts
1919

20-
All new Hypernodes (from April 2020) will automatically be booted with [Hypernode Managed Vhosts](../../hypernode-platform/nginx/hypernode-managed-vhosts.md). If you already have an older Hypernode, then you need to enable Hypernode Managed Vhosts by running the following command:
21-
22-
```bash
23-
hypernode-systemctl settings managed_vhosts_enabled True
24-
```
20+
Hypernode uses [Hypernode Managed Vhosts](../../hypernode-platform/nginx/hypernode-managed-vhosts.md). Ensure you have a vhost for your Akeneo domain.
2521

2622
## Create a Managed_vhost for a (Sub)Domain
2723

docs/ecommerce-applications/akeneo/how-to-install-akeneo-5-on-hypernode.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,9 @@ redirect_from:
1414

1515
Akeneo 5 preferably requires a Hypernode Pelican L, Falcon M, Eagle M hosting plan or larger. You can either choose to install it on a seperate Hypernode instance or on the same Hypernode as your Magento or Shopware installation. If you choose the latter you have to make sure that you have enough resources (disk space, memory and CPU) left. Furthermore you need to make sure that you are already using **MySQL 8.0, PHP 7.4 and Elasticsearch 7.x**, so it won’t affect your shop negatively. Installing Akeneo version 5.x may take up to 15 minutes.
1616

17-
## Enable managed_vhosts
17+
## Managed Vhosts
1818

19-
All new Hypernodes (from April 2020) will automatically be booted with [Hypernode Managed Vhosts](../../hypernode-platform/nginx/hypernode-managed-vhosts.md). If you already have an older Hypernode, then you need to enable Hypernode Managed Vhosts by running the following command:
20-
21-
```bash
22-
hypernode-systemctl settings managed_vhosts_enabled True
23-
```
19+
Hypernode uses [Hypernode Managed Vhosts](../../hypernode-platform/nginx/hypernode-managed-vhosts.md). Ensure you have a vhost for your Akeneo domain.
2420

2521
## Create a Managed_vhost for a (Sub)Domain
2622

docs/ecommerce-applications/akeneo/how-to-install-akeneo-6-on-hypernode.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,9 @@ redirect_from:
1414

1515
Akeneo 6 preferably requires a Hypernode Pelican L, Falcon M, Eagle M hosting plan or larger. You can either choose to install it on a seperate Hypernode instance or on the same Hypernode as your Magento or Shopware installation. If you choose the latter you have to make sure that you have enough resources (disk space, memory and CPU) left. Furthermore you need to make sure that you are already using **MySQL 8.0, PHP 8.0 and Elasticsearch 7.x**, so it won’t affect your shop negatively. Installing Akeneo version 6.x may take up to 15 minutes.
1616

17-
## Enable managed_vhosts
17+
## Managed Vhosts
1818

19-
All new Hypernodes (from April 2020) will automatically be booted with [Hypernode Managed Vhosts](../../hypernode-platform/nginx/hypernode-managed-vhosts.md). If you already have an older Hypernode, then you need to enable Hypernode Managed Vhosts by running the following command:
20-
21-
```bash
22-
hypernode-systemctl settings managed_vhosts_enabled True
23-
```
19+
Hypernode uses [Hypernode Managed Vhosts](../../hypernode-platform/nginx/hypernode-managed-vhosts.md). Ensure you have a vhost for your Akeneo domain.
2420

2521
## Create a Managed_vhost for a (Sub)Domain
2622

docs/ecommerce-applications/akeneo/how-to-install-akeneo-7-on-hypernode.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,9 @@ redirect_from:
1515
Akeneo 7 preferably requires a Hypernode Pelican L, Falcon M, Eagle M hosting plan or larger. You can either choose to install it on a seperate Hypernode instance or on the same Hypernode as your Magento or Shopware installation. If you choose the latter you have to make sure that you have enough resources (disk space, memory and CPU) left. Furthermore you need to make sure that you are already using **MySQL 8.0, PHP 8.1 and OpenSearch 2.x**, so it won’t affect your shop negatively. Installing Akeneo version 7.x may take up to 15 minutes.\
1616
**Important note: Akeneo 7.x requires MySQL 8.0.30, which is only available on Debian Bookworm.**
1717

18-
## Enable managed_vhosts
18+
## Managed Vhosts
1919

20-
All new Hypernodes (from April 2020) will automatically be booted with [Hypernode Managed Vhosts](../../hypernode-platform/nginx/hypernode-managed-vhosts.md). If you already have an older Hypernode, then you need to enable Hypernode Managed Vhosts by running the following command:
21-
22-
```bash
23-
hypernode-systemctl settings managed_vhosts_enabled True
24-
```
20+
Hypernode uses [Hypernode Managed Vhosts](../../hypernode-platform/nginx/hypernode-managed-vhosts.md). Ensure you have a vhost for your Akeneo domain.
2521

2622
## Create a Managed_vhost for a (Sub)Domain
2723

docs/getting-started/how-to-order/how-to-get-started-with-your-hypernode-trial.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,6 @@ In our support documentation you will find detailed information about installing
7171

7272
### Step 4 – Set up Hypernode Managed Vhosts
7373

74-
The Hypernode Managed Vhosts (HMV) system is currently enabled by default on all new booted Hypernodes (all Hypernodes created after 01-05-2020).
75-
76-
Check if you have HMV enabled by running this command:
77-
78-
`hypernode-systemctl settings managed_vhosts_enabled`
79-
80-
If so, it will give the following output:
81-
82-
`managed_vhosts_enabled is set to value True`
83-
84-
If this is not enabled, skip the part below.
85-
8674
Due to this configuration it is required to add a new vhost for every domain you want to link to your Hypernode. So you need to configure your DNS correctly and add a new vhost for the domain.
8775

8876
To add a new vhost, for example the domainname [www.example.com](http://www.example.com), to your configuration, you can simply run the command `hypernode-manage-vhosts www.example.com`. This will create a new vhost configuration in `/data/web/nginx/www.example.com/`, using the Magento 2 template.

docs/hypernode-platform/dns/how-to-manage-your-dns-settings-for-hypernode.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -129,19 +129,7 @@ Don’t fancy these solutions? Migrate your domain to Hypernode and let us manag
129129

130130
## DNS and Hypernode Managed Vhosts
131131

132-
The Hypernode Managed Vhosts (HMV) system is currently enabled by default on all newly booted Hypernodes (all Hypernodes created after 01-05-2020).
133-
134-
Check if you have HMV enabled by running this command:
135-
136-
`hypernode-systemctl settings managed_vhosts_enabled`
137-
138-
If so, it will give the following output:
139-
140-
`managed_vhosts_enabled is set to value True`
141-
142-
If this isn't enabled, you can just skip the part below.
143-
144-
Due to this configuration, it is required to add a new vhost for every domain you want to link to your Hypernode. So you need to configure your DNS correctly and add a new vhost for the domain.
132+
With Hypernode Managed Vhosts (HMV), you must add a new vhost for every domain you want to link to your Hypernode. So you need to configure your DNS correctly and add a new vhost for the domain.
145133

146134
To add a new vhost, for example the domain name `www.example.com`, to your configuration, you can run the command `hypernode-manage-vhosts www.example.com`. This will create a new vhost configuration in `/data/web/nginx/www.example.com/`, using the Magento 2 template.
147135

docs/hypernode-platform/nginx/how-to-configure-your-shop-to-only-use-https.md

Lines changed: 4 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -24,41 +24,13 @@ You can find more in-depth information in [this article about SSL on Hypernode](
2424

2525
Please check out [this article](../ssl/how-to-use-ssl-certificates-on-your-hypernode-when-ordered-via-hypernode-com.md) for the different SSL options when you use the Hypernode Control Panel.
2626

27-
## Order Let’s Encrypt Certificates
28-
29-
### On Hypernodes With Hypernode Managed Vhosts Enabled
30-
31-
**Please note: If you want to use Let’s Encrypt and have the Hypernode Managed Vhosts (HMV) system enabled, you need to configure LE during the creation of the vhost. Using the old method with dehydrated won't work!**
32-
33-
First, check if HMV is enabled on your Hypernode:
34-
35-
`hypernode-systemctl settings managed_vhosts_enabled`
36-
37-
If so, it will give the following output:
38-
39-
`managed_vhosts_enabled is set to value True`
27+
## How to Use Let’s Encrypt (LE) Certificates
4028

4129
If you want to request a LE certificate you need to add the `--https` flag with the HMV-command.
4230

4331
`hypernode-manage-vhosts www.example.com --https --force-https`
4432

45-
This command will not only request a LE Certificate but because of the --force-https flag it will also redirects all traffic for that specific vhost to HTTPS.
46-
47-
### On Hypernodes Without Hypernode Managed Vhosts Enabled
48-
49-
To order [Let’s Encrypt](../ssl/how-to-use-lets-encrypt-on-hypernode.md) certificates for all storefronts, use the following command:
50-
51-
```bash
52-
## Create an entry for each storefront
53-
for DOMAIN in $( n98-magerun sys:store:config:base-url:list --format=csv | sed 1d | cut -d , -f 3 | perl -pe "s/https?://(www.)?//" | tr -d "/" | sort -u ); do
54-
echo -e "$DOMAIN www.${DOMAIN}" >> ~/.dehydrated/domains.txt
55-
done
56-
57-
## Order the certificates
58-
dehydrated -c --create-dirs
59-
```
60-
61-
Don’t forget to [add the cron to renew your certificates](../ssl/how-to-use-lets-encrypt-on-hypernode.md) to the crontab if you are using Let’s Encrypt!
33+
This command will not only request a LE Certificate but, because of the --force-https flag, it will also redirect all traffic for that specific vhost to HTTPS.
6234

6335
## Changing Your Base URLs
6436

@@ -79,17 +51,9 @@ If this is done by Magento, the database and PHP are used for making this redire
7951

8052
This is why we must configure this in Nginx, so the redirect does not use unnecessary resources.
8153

82-
Run the following command to add the configuration to Nginx that routes all traffic over HTTPS:
54+
Run the following command to configure a vhost to automatically redirect all traffic to HTTPS:
8355

84-
Create the following file at `/data/web/nginx/public.ssl_redirect.conf`:
85-
86-
```nginx
87-
if ($scheme = http) {
88-
return 301 https://$host$request_uri;
89-
}
90-
```
91-
92-
**Please note that if you have [Hypernode Managed Vhosts](hypernode-managed-vhosts.md) enabled, you can skip this.**
56+
`hypernode-manage-vhosts www.example.com --https --force-https`
9357

9458
## Check Settings of Third Party Solutions
9559

docs/hypernode-platform/nginx/how-to-redirect-from-or-to-www.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ More info can be found [on our page about setting your DNS](../dns/how-to-manage
2424

2525
## Redirect From Apex to WWW
2626

27-
**When hypernode-managed-vhosts enabled**
27+
**When Hypernode Managed Vhosts is enabled**
2828

2929
To redirect all traffic to www you have to create both a vhost for the Apex and for the `www`. For the non-www vhost you can create the vhost as type wwwizer. This will redirect all traffic to the `www`. version of that vhost. This can be achieved by running: `hypernode-manage-vhosts example.com --type wwwizer`.
3030

@@ -34,18 +34,6 @@ To redirect all traffic to www you have to create both a vhost for the Apex and
3434
| www.example.com | magento2 | False | False | False | False | intermediate |
3535
```
3636

37-
**Without hypernode-manage-vhosts enabled (old legacy nginx-config)**
38-
39-
You can redirect all traffic to www with the following Nginx snippet:
40-
41-
```nginx
42-
if ($http_host ~* "^example.com$") {
43-
rewrite ^ https://www.$http_host$request_uri;
44-
}
45-
```
46-
47-
Save this snippet in `/data/web/nginx/server.rewrites`.
48-
4937
## Redirect From WWW to Apex
5038

5139
To redirect all traffic from www to the apex domain use the following Nginx snippet:

0 commit comments

Comments
 (0)