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
After `apache2nginx` package is installed, you can switch to NGINX by running:
25
+
After `max_webserver` package is installed, you can switch to NGINX by running:
26
26
27
27
```
28
-
apache2nginx setup
28
+
apache2max_webserver setup
29
29
```
30
30
31
31
Note that this may take a while, so we recommend running this command in a `tmux` or `screen` session.
@@ -48,7 +48,7 @@ The Apache service provides a safety net for websites that cannot be converted t
48
48
To switch back to Apache, run:
49
49
50
50
```
51
-
apache2nginx reset
51
+
apache2max_webserver reset
52
52
```
53
53
54
54
This command removes NGINX from your system and restores Apache configuration.
@@ -58,42 +58,42 @@ This command removes NGINX from your system and restores Apache configuration.
58
58
To force individual website to be served by Apache, run:
59
59
60
60
```
61
-
apache2nginx proxy -d <domain>
61
+
apache2max_webserver proxy -d <domain>
62
62
```
63
63
64
-
For example, `apache2nginx proxy -d example.com`.
64
+
For example, `apache2max_webserver proxy -d example.com`.
65
65
66
66
67
67
## Disable forced use of Apache for a single website
68
68
69
69
To disable forcing individual website to be served by Apache:
70
70
71
71
```
72
-
apache2nginx unproxy -d <domain>
72
+
apache2max_webserver unproxy -d <domain>
73
73
```
74
74
75
75
Note that Apache may still serve the website, if:
76
76
* conversion of its `.htaccess` files fails in any way
77
-
* unsupported handler is used. Apache2Nginx only supports PHP-FPM handler
77
+
* unsupported handler is used. Apache2MaxWebserver only supports PHP-FPM handler
78
78
79
79
## List proxied websites
80
80
81
81
To list websites that are forced to be served by Apache:
82
82
83
83
```
84
-
apache2nginx list-proxied
84
+
apache2max_webserver list-proxied
85
85
```
86
86
87
87
This command lists all websites that are forced to be served by Apache and the reason for that.
88
88
89
89
## Other notes
90
90
91
-
Apache2Nginx automatically converts `.htaccess` files to NGINX configuration, stored under the directory `/etc/nginx`
91
+
Apache2MaxWebserver automatically converts `.htaccess` files to NGINX configuration, stored under the directory `/etc/nginx`
92
92
as `apache2nginx.conf` and files prefixed with `apache2nginx-`.
93
93
94
94
Please don't modify these files manually, as they will be overwritten by the monitoring subsystem.
95
95
96
96
Instead, if you want to augment the NGINX configuration, you can do any of the following:
97
97
98
-
* Work with your `.htaccess` files like usually, and let Apache2Nginx automatically convert them to respective NGINX configuration
98
+
* Work with your `.htaccess` files like usually, and let Apache2MaxWebserver automatically convert them to respective NGINX configuration
99
99
* Add files according to `ea-nginx` files conventions. Please refer to the [cPanel documentation](https://docs.cpanel.net/knowledge-base/web-services/nginx-with-reverse-proxy/).
Copy file name to clipboardExpand all lines: docs/cloudlinuxos/cloudlinux_os_components/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7864,8 +7864,8 @@ service nginx restart
7864
7864
```
7865
7865
</div>
7866
7866
7867
-
Use Apache2Nginx to set up NGINX hosting on the server and automatically convert .htaccess files into corresponding NGINX configuration.
7868
-
For more details, please visit [Apache2Nginx](/cloudlinuxos/apache2nginx/#apache2nginx).
7867
+
Use Apache2MaxWebserver to set up NGINX hosting on the server and automatically convert .htaccess files into corresponding NGINX configuration.
7868
+
For more details, please visit [Apache2MaxWebserver](/cloudlinuxos/apache2max_webserver/#apache2nginx).
7869
7869
7870
7870
7871
7871
### Uninstalling
@@ -7897,7 +7897,7 @@ service nginx restart
7897
7897
```
7898
7898
</div>
7899
7899
7900
-
To remove NGINX from your system and restore Apache configuration, please visit [Apache2Nginx](/cloudlinuxos/apache2nginx/#switch-back-to-apache-hosting).
7900
+
To remove NGINX from your system and restore Apache configuration, please visit [Apache2MaxWebserver](/cloudlinuxos/apache2max_webserver/#switch-back-to-apache-hosting).
7901
7901
7902
7902
#### Uninstallation procedure for servers with no control panel
0 commit comments