You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hypernode-platform/nginx/hypernode-managed-vhosts.md
+40-40Lines changed: 40 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,46 +16,6 @@ The Hypernode Managed Vhosts (HMV) system is an easy to use, yet powerful, syste
16
16
17
17
The main advantage of HMV is that it separates your Nginx config into a global folder, containing configuration for all server blocks, and domain specific configs, giving you more control and reducing unexpected side-effects of domain specific configurations.
18
18
19
-
## Enabling Managed Vhosts
20
-
21
-
The Hypernode Managed Vhosts (HMV) system is currently enabled by default on all new booted Hypernodes.
22
-
23
-
However if you have a Hypernode created before 01-05-2020 your Hypernode may still be running in 'legacy' mode. To enable the HMV you can run the command:
This will convert your current legacy config into the HMV config. It will also convert all currently active vhosts into managed vhosts.
28
-
29
-
Please note that while switching to HMV is very easy, there are a few things to check after switching to make sure everything works, as not every setting is automatically transferred.
30
-
31
-
Run `hypernode-manage-vhosts --list` to get an overview of your current configuration and use the list below to check if it's correct. Not everything will apply to your Hypernode.
32
-
33
-
- Make sure your domain is the default server instead of the Hypernode. You can do this by running the following command:
Please make sure to also double check your custom Nginx configurations, as these might not be converted automatically.
56
-
57
-
You can always use `hypernode-manage-vhosts --help` to get more information on the different configurations.
58
-
59
19
## Managing Vhosts
60
20
61
21
Once the Hypernode Managed Vhosts (HMV) system is enabled, you can start defining and configuring your vhosts. On new booted Hypernodes there will be one vhosts by default: example.hypernode.io.
@@ -146,3 +106,43 @@ If you are running into issues (e.g. SSL or other configuration errors) with Hyp
146
106
`hypernode-manage-vhosts --all`
147
107
148
108
This regenerates the HMV configuration based on what is set in `hypernode-manage-vhosts --list` and in our experience resolves most basic issues with Hypernode Managed Vhosts.
109
+
110
+
## Enabling Managed Vhosts
111
+
112
+
The Hypernode Managed Vhosts (HMV) system is currently enabled by default on all new booted Hypernodes.
113
+
114
+
However if you have a Hypernode created before 01-05-2020 your Hypernode may still be running in 'legacy' mode. To enable the HMV you can run the command:
This will convert your current legacy config into the HMV config. It will also convert all currently active vhosts into managed vhosts.
119
+
120
+
Please note that while switching to HMV is very easy, there are a few things to check after switching to make sure everything works, as not every setting is automatically transferred.
121
+
122
+
Run `hypernode-manage-vhosts --list` to get an overview of your current configuration and use the list below to check if it's correct. Not everything will apply to your Hypernode.
123
+
124
+
- Make sure your domain is the default server instead of the Hypernode. You can do this by running the following command:
0 commit comments