1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What's the point of reverse proxy for 1 server setups?

Discussion in 'Server Configuration and Hosting' started by NeoCHI, Aug 13, 2014.

  1. NeoCHI

    NeoCHI Active Member

    So I just started a new dedicated a known host and asked them to setup nginx as my webserver and they replied:

    cPanel doesn't support Nginx in place of Apache web browser. However, we can assist you to install it as reverse proxy.

    If I'm only using 1 server isn't it pointless to use reverse proxy? Also, can't I just use http://cpnginx.com/ to make cPanel support Nginx?
  2. Sheratan

    Sheratan Well-Known Member

    cPanel does not support nginx in native mode. Installing nginx in cpanel means you use nginx as reverse proxy in front of Apache.
  3. NeoCHI

    NeoCHI Active Member

    So it seems that using Nginx as a reverse proxy means:

    Nginx will listen to the default web server port 80 and Apache on port 8081. Nginx will manage the static files where Apache will handle the dynamic scripts.

    And this makes things faster?

    Btw, when you guys say your using nginx + php-fpm does that mean your using nginx as a reverse proxy or as a webserver then?
  4. Sheratan

    Sheratan Well-Known Member

    Theoretically. Some folks said faster, some said not. I don't use it so I can not give any reviews

    as a webserver
  5. NeoCHI

    NeoCHI Active Member

    So there's no way to use nginx as a webserver but also have cpanel?
  6. RoldanLT

    RoldanLT Well-Known Member

    If that's a fully managed server, ask them to install stack LEMP (nginx 1.7.4, php 5.5.15, MariaDB).
    nginx in front of apache with cpanel is UNSTABLE.
  7. RoldanLT

    RoldanLT Well-Known Member

  8. NeoCHI

    NeoCHI Active Member

    But with that setup I won't have cpanel correct?
  9. RoldanLT

    RoldanLT Well-Known Member

    Just ask them to have ftp access and phpmyadmin, and that's all you need.
  10. NeoCHI

    NeoCHI Active Member

    If I stick with Apache, then DSO is my best option as a php handler right?
  11. Mike Edge

    Mike Edge Formerly Da Bookie Mon

    Xon and RoldanLT like this.
  12. RoldanLT

    RoldanLT Well-Known Member

  13. Slavik

    Slavik XenForo Moderator Staff Member

    Use FastCGI.
    Xon likes this.
  14. MattW

    MattW Well-Known Member

    I personally prefer mod_ruid2 and dso on cpanel

Share This Page