buy
Nginx Reverse Proxy

Overview

This guide will show you how to enable Nginx Reverse Proxy with Apache server.

Apache’s power and Nginx’s speed are well known. However, both servers do have drawbacks—apache is hard on server memory, while Nginx (great at static files) needs the help of php-fpm or similar modules for dynamic content. You can configure Nginx as a reverse proxy for Apache. With this, Nginx will serve all the static content while dynamic content will be processed by Apache.

Requirements

  • Install Nginx server(Set default server).
  • Install Apache server.
  • Enable nginx Reverse Proxy

    Set default server as Nginx server. 

    To enable Nginx reverse proxy go to Admin panel > Nginx Reverse Proxy.

    You can set custom port for apache server.

    img_20230714

    After click Enable Reverse proxy button the following page will appear.

    Here you can set reverse proxy cache for users. Also you can clear Nginx cache for all users.

    img_20230714(1)

    Enable reverse proxy for particular users

    If you want enable/disable Nginx reverse proxy and reverse proxy cache for particular user click on User Proxy Settings 

    img_20230714(2)

    You can also enable/disable Nginx cache and clear cache from enduser home panel.

    img_20230714(6)

    Once you enable Nginx Reverse proxy you cannot change webserver until it is disable .

    img_20230714(5)

    Disable Nginx Reverse Proxy

    img_20230714(4)
      Was this page helpful?
      Newsletter Subscription
      Subscribing you to the mailing list