ÅäÌä ÅßÓ Nginx ÇÓÆáÉ æ ÇÌæÈÉ Úä ÊËÈíÊå Úáì ÇáÓí ÈÇäÇá WHM/CPanel
Apache’s power and Nginx’s speed


Why run Apache and Nginx together? Is there any advantage by using Nginx as reverse proxy on Cpanel?

Apache’s power and Nginx’s speed

Both Apache and Nginx are powerful and effective web-servers. Apache is the topmost webserver since it was released in 2006 and Nginx is now using top websites. The reason for using Apache and Nginx are clear, Apache’s power and Nginx’s speed. By setting Nginx as reverse proxy, we can increase the website’s speed and performance on the server. This is because, Nginx will take care of all static contents in the website such as CSS, images, SWF files, MP4 and more. Apache will manage the rest of requests (dynamic requests – php page). This is known as a Nginx reverse proxy setup. Nginx stand as a front end server with a powerful backend Apache server.


åá åäÇß ÇÚÏÇÏÇÊ íÌÈ ÚãáåÇ ¿ äÚã, ÊËÈíÊ mod_remoteip áÇÙåÇÑ ÇáÇíÈíåÇÊ ÇáÍÞíÞíÉ
åá åäÇß ãäÇÝÐ port íÌÈ ÊÛííÑåÇ ¿ äÚã æáßä íÊã ÊáÞÇÆíÇ Ïæä ÊÏÎá ãäß ÇØáÇÞÇ
åá åäÇß ãäÇÝÐ port íÌÈ ÝÊÍåÇ ÏÇÎá csf ¿ áÇ, áÇä ÇáÈÑæßÓí íÊã ÏÇÎá ÇáÓíÑÝÑ æáíÓ ÎÇÑÌå
åá ÇáßÇÔ íÓÈÈ ãÔÇßá ¿ äÚã ãÚ ãáÝÇÊ static áÇ íÍÏË ÇáÊÛííÑ ÇáÇ ÈÚÏ ãÑæÑ ÓÇÚÉ ÈÓÈÈ ÇáßÇÔ
åá íãßä ÍÐÝ ÇáßÇÔ ÏÇÎá ÇáÓí ÈÇäíá cPanel ¿ äÚã, íæÌÏ ÒÑ áÍÐÝ ÇáßÇÔ ÈÏá ÇäÊÙÇÑ ÓÇÚÉ

åá íÚãá ÅäÌä ÅßÓ Nginx áæÍÏå ¿ áÇ Ýåæ íßãá ÇáÃÈÇÊÔí Apache ÈãíÒÉ ÇáÈÑæßÓí æ ÇáßÇÔ ÝÞØ
åá ãáÝ htaccess åíÊÚØá ¿ áÇ åíÙá íÚãá ÈÏæä ãÔÇßá Çæ æÞÝ ÇáßÇÔ ãä ÎáÇáå.
åá íÊÚÇÑÖ ãÚ ÇáßáÇæÏ ÝáíÑ Cloud Flare ¿ áÇ íÊÚÇÑÖ ãÚå áÇä ÇáÈÑæßÓí ÏÇÎáì.
åá íãßä ÇáÊÑÇÌÚ ÈÚÏ ÇáÊËÈíÊ ¿ äÚã , æåíÑÌÚ ßá ÇáÇÚÏÇÏÇÊ ßãÇ ßÇäÊ ÊáÞÇÆíÇ.