Skip to content

Commit 2477a0e

Browse files
authored
Merge pull request #228 from alutsiuk123/master
AP2NGX-248: Rename apache2nginx to apache2max_webserver
2 parents 8767e28 + 818ade4 commit 2477a0e

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

docs/.vuepress/config-client/sidebar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default {
5959
"/cloudlinuxos/cloudlinux_os_components/",
6060
"/cloudlinuxos/shared-pro/",
6161
"/cloudlinuxos/command-line_tools/",
62-
"/cloudlinuxos/apache2nginx/",
62+
"/cloudlinuxos/apache2max_webserver/",
6363
"/cloudlinuxos/alt-ea_packages/",
6464
"/cloudlinuxos/control_panel_integration/",
6565
"/cloudlinuxos/cloudlinux_os_kernel/",

docs/.vuepress/public/not-found.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ <h1 class="display-1">404</h1>
7979
link: "/cloudlinuxos/cloudlinux_installation/",
8080
},
8181
{
82-
title: "Apache2Nginx (BETA)",
83-
description: "Apache2Nginx sets up Nginx hosting with .htaccess support.",
84-
link: "/cloudlinuxos/apache2nginx/",
82+
title: "Apache2MaxWebserver (BETA)",
83+
description: "Apache2MaxWebserver sets up Nginx hosting with .htaccess support.",
84+
link: "/cloudlinuxos/apache2max_webserver/",
8585
},
8686
{
8787
title: "AccelerateWP",

docs/cloudlinuxos/apache2nginx/README.md renamed to docs/cloudlinuxos/apache2max_webserver/README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11

2-
# Apache2Nginx (BETA)
2+
# Apache2MaxWebserver (BETA)
33
---
44

5-
Apache2Nginx sets up NGINX hosting on the server and automatically converts `.htaccess` files into corresponding NGINX
5+
Apache2MaxWebserver sets up NGINX hosting on the server and automatically converts `.htaccess` files into corresponding NGINX
66
configuration.
77

88
It seamlessly integrates with the LSAPI NGINX module,
99
which allows for better performance and resource usage.
1010

1111
:::tip
12-
Apache2Nginx is supported on cPanel servers only, running CloudLinux OS 8 and later.
12+
Apache2MaxWebserver is supported on cPanel servers only, running CloudLinux OS 8 and later.
1313
:::
1414

1515
## Installation
1616

17-
To use Apache2Nginx, first install the `apache2nginx` package:
17+
To use Apache2MaxWebserver, first install the `max_webserver` package:
1818

1919
```
20-
dnf --enablerepo=cloudlinux-updates-testing install apache2nginx
20+
dnf --enablerepo=cloudlinux-updates-testing install max_webserver
2121
```
2222

2323
## Convert to NGINX hosting
2424

25-
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:
2626

2727
```
28-
apache2nginx setup
28+
apache2max_webserver setup
2929
```
3030

3131
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
4848
To switch back to Apache, run:
4949

5050
```
51-
apache2nginx reset
51+
apache2max_webserver reset
5252
```
5353

5454
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.
5858
To force individual website to be served by Apache, run:
5959

6060
```
61-
apache2nginx proxy -d <domain>
61+
apache2max_webserver proxy -d <domain>
6262
```
6363

64-
For example, `apache2nginx proxy -d example.com`.
64+
For example, `apache2max_webserver proxy -d example.com`.
6565

6666

6767
## Disable forced use of Apache for a single website
6868

6969
To disable forcing individual website to be served by Apache:
7070

7171
```
72-
apache2nginx unproxy -d <domain>
72+
apache2max_webserver unproxy -d <domain>
7373
```
7474

7575
Note that Apache may still serve the website, if:
7676
* 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
7878

7979
## List proxied websites
8080

8181
To list websites that are forced to be served by Apache:
8282

8383
```
84-
apache2nginx list-proxied
84+
apache2max_webserver list-proxied
8585
```
8686

8787
This command lists all websites that are forced to be served by Apache and the reason for that.
8888

8989
## Other notes
9090

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`
9292
as `apache2nginx.conf` and files prefixed with `apache2nginx-`.
9393

9494
Please don't modify these files manually, as they will be overwritten by the monitoring subsystem.
9595

9696
Instead, if you want to augment the NGINX configuration, you can do any of the following:
9797

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
9999
* 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/).

docs/cloudlinuxos/cloudlinux_os_components/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7864,8 +7864,8 @@ service nginx restart
78647864
```
78657865
</div>
78667866
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).
78697869
78707870
78717871
### Uninstalling
@@ -7897,7 +7897,7 @@ service nginx restart
78977897
```
78987898
</div>
78997899
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).
79017901
79027902
#### Uninstallation procedure for servers with no control panel
79037903
@@ -7922,7 +7922,7 @@ service nginx restart
79227922
* [Configuration references](./#configuration-references-1)
79237923
79247924
:::tip Note
7925-
If using Apache2Nginx, no configuration is required for NGINX LSAPI Module. The module is automatically configured to process PHP requests.
7925+
If using Apache2MaxWebserver, no configuration is required for NGINX LSAPI Module. The module is automatically configured to process PHP requests.
79267926
:::
79277927
79287928
In order to get NGINX LSAPI Module to work properly, you'll need to configure NGINX. To do this, we use a separate _lsapi.conf_ file.

0 commit comments

Comments
 (0)