Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Nginx Reverse Proxy Question

Discussion in 'Workarounds and Optimization' started by Bulent Tekcan, Oct 3, 2011.

  1. Bulent Tekcan

    Bulent Tekcan Well-Known Member

    Joined:
    May 11, 2004
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    166
    Hello,

    Any idea how to check reverse proxy enabled on my server becasue I need ddos protection with this system.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Have you considered contacting the provider of the nginx plugin for support on this question? cPanel does not currently provide any module or plugin for nginx, so we would not be the best location to inquire for this subject.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Bulent Tekcan

    Bulent Tekcan Well-Known Member

    Joined:
    May 11, 2004
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    166
    Please see ticket 1911937 ,because Jared Ryan told me this...
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Regardless of what you were told when opening a ticket on a non-supported issue such as this, I'm making my own recommendation. Since you are unlikely to receive a response here on it, and more likely to via the proper channels, the better course of action is the one I've suggested.

    Please note that, without knowing what specific nginx plugin was used (there are at least 3 major plugins used for nginx by people with cPanel), it is even more difficult to assist.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    166
    do 'ps aux' from ssh console, you should see 'nginx' process

    go to HTTP / HTTPS Header Check and check your website, you should see something like:

    HTTP/1.1 301 Moved Permanently =>
    Server => nginx admin
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Bulent Tekcan

    Bulent Tekcan Well-Known Member

    Joined:
    May 11, 2004
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    166
    My result is

    HTTP/1.1 200 OK =>
    Server => nginx admin
     
  7. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    166
    looks like a respond from nginx. but to make sure, how did you install nginx?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Bulent Tekcan

    Bulent Tekcan Well-Known Member

    Joined:
    May 11, 2004
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    166
  9. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    166
    you should have nginx already, the HTTP respond header shows it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Bulent Tekcan

    Bulent Tekcan Well-Known Member

    Joined:
    May 11, 2004
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    166
    Is it working correctly with reverse proxy ?
     
  11. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    166
    nginx admin is installing nginx on cpanel as reverse proxy. do more reading here: About | NginxCP.com
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Bulent Tekcan

    Bulent Tekcan Well-Known Member

    Joined:
    May 11, 2004
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    166
    Many thanks , any idea how to change server string from this "nginx admin" to another one ?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice