In DirectAdmin the MPM module can be selected by using Custombuild or by editing /usr/local/directadmin/custombuild/options.confI can test this setting on a server is there any tutorial how I can activate and verify is it working or not also it will work for WordPress website ?
It's not in Englishpersonal blog:
so we should use nginx and Apache both together,caching proxy frontend for apache,
yes it's best, and I will use this for my this new server as I am planning to hold 2000 to 5000 users it will help me a lotLS Enterprise
most people are using nginx as frontend for apache, as it brings the full apache functionality with it inside. but yes, you can run nginx also standalone (without apache), with several caveeats, ex. htaccess handling.so we should use nginx and Apache both together,
I´d recommend start with "webhost essential" or "webhost pro" and do some loadtesting first. you can scale-up at every point later if you really need, and spare money.Web Host Enterprise
From $65.00/mo
it has 4 work process, so it can help more
Follow the commands and you're done. Or use google translator, it's what I do in English forums.It's not in English
cd /usr/local/directadmin/custombuildgoogle translator
Yes. Also add: ./build rewrite_confscd /usr/local/directadmin/custombuild
./build update
./build set webserver nginx_apache
./build nginx_apache
vi /etc/nginx/nginx-includes.conf
# use any of the following two
real_ip_header CF-Connecting-IP;
#real_ip_header X-Forwarded-For;
whith this my apeach server will keep running and I will have nginx as cache ?
What the command says: journalctl -xe?i got this error after doing this and my all website down lol it was a small server i have back to apach to keep it alive
[[email protected] custombuild]# systemctl status nginx
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/etc/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2023-03-18 22:25:30 PKT; 16s ago
Process: 743626 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
Mar 18 22:25:29 sig.mydomaincom systemd[1]: Starting The nginx HTTP and...
Mar 18 22:25:30 sig.mydomain.com nginx[743626]: nginx: [emerg] "modsecur...
Mar 18 22:25:30 sig.mydomain.com nginx[743626]: nginx: configuration fil...
Mar 18 22:25:30 sig.mydomain.com nginx[743626]: t:none,t:urlDecode
Mar 18 22:25:30 sig.mydomain.com systemd[1]: nginx.service: control proc...
Mar 18 22:25:30 sig.mydomain.com systemd[1]: Failed to start The nginx H...
Mar 18 22:25:30 sig.mydomain.com systemd[1]: Unit nginx.service entered ...
Mar 18 22:25:30 sig.mydomain.com systemd[1]: nginx.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[[email protected] custombuild]# systemctl status nginx -l
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/etc/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2023-03-18 22:25:30 PKT; 25s ago
Process: 743626 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
I have reverted to Apache and rebuild it, because I start getting complaintsjournalctl -xe
what i want to achive
1. Apache as web server
2. nginx as cache as you suggested having better page speed and caching for my customers to have better performance
cd /usr/local/directadmin/custombuild
./build update
./build update_da
./build set webserver nginx_apache
./build nginx_apache
./build rewrite_confs
cd /usr/local/directadmin/custombuild
./build update
./build update_da
./build set webserver nginx_apache
./build nginx_apache
./build rewrite_confs
./build update
./build all d
./build rewrite_confs
netstat -pta
thank you very much for your response and supportGreetings.
i have bought this 1 XDI can recommend you AX101