Skip to main content

Website not working with nginx

Comments

17 comments

  • Nirjonadda
    So now uninstalled nginx but still website not working and only show popup download link.
    0
  • cPRex Jurassic Moderator
    Hey there! It sounds like this is more of a PHP issue than an Nginx issue. If you try accessing a plain text file, does that work well? If so, I would be checking the PHP version and handler for that domain to ensure there are no issues there.
    0
  • Nirjonadda
    Hey there! It sounds like this is more of a PHP issue than an Nginx issue. If you try accessing a plain text file, does that work well? If so, I would be checking the PHP version and handler for that domain to ensure there are no issues there.

    Website working without Nginx after restarted PHP-FPM. I am using PHP Version 7.4.16 with LSAPI handlers.
    0
  • cPRex Jurassic Moderator
    I'm glad things are working well now. It's important to note that our nginx implementation is still experimental, so you may not have as seamless of an experience as the other tools in EasyApache.
    0
  • Nirjonadda
    I'm glad things are working well now. It's important to note that our nginx implementation is still experimental, so you may not have as seamless of an experience as the other tools in EasyApache.

    So website are not working with nginx? Other note: EasyApache
    0
  • cPRex Jurassic Moderator
    It's probably best to clarify the terms as there are a two different options for nginx at this time: ea-nginx - This is nginx configured with a reverse proxy setup, and is the version that is in production at this time: NGINX" with Reverse Proxy | cPanel & WHM Documentation nginx standalone - This does not use a proxy configuration, and completely takes over for Apache as the primary webserver. This option is still experimental: NGINX" Standalone | cPanel & WHM Documentation Your screenshot seems to have both of those selected, which could be causing a conflict. After you restarted PHP-FPM and enabled nginx, are things still not working properly?
    0
  • Nirjonadda
    Your screenshot seems to have both of those selected, which could be causing a conflict.

    So we only need ea-nginx, not nginx standalone? I think nginx standalone required to install ea-nginx and ea-nginx does not required to install nginx standalone?
    After you restarted PHP-FPM and enabled nginx, are things still not working properly?

    Does not work after restarted PHP-FPM. Also rebooted the server but does not help.
    0
  • cPRex Jurassic Moderator
    The package you need will depend on how you want to implement the software. It might be best to open a ticket with our team so we can check the server settings manually, as we would still expect PHP to work even on the experimental version.
    0
  • Nirjonadda
    The package you need will depend on how you want to implement the software.

    I am using nginx for Xenforo software.
    0
  • cPRex Jurassic Moderator
    I meant more about the function - if you wanted it to replace Apache, or proxy the traffic to Apache.
    0
  • Nirjonadda
    I meant more about the function - if you wanted it to replace Apache, or proxy the traffic to Apache.

    I am now only installed ea-nginx and website working. If nginx standalone required to install ea-nginx then why nginx standalone conflict with ea-nginx? Does this correct If we need proxy the traffic to Apache then only need install ea-nginx and If we need replace Apache to nginx then need install nginx standalone but nginx standalone still required to install ea-nginx?
    0
  • cPRex Jurassic Moderator
    While they both use nginx, they get implemented very differently, so you should not have both running at the same time. No, if you install the standalone package, you do not also need the ea-nginx package.
    0
  • Nirjonadda
    @cPRex One more issue, We heave installed mod_remoteip but still user IP showing server IP address. So how to fixing show User Real IP address?
    0
  • cPRex Jurassic Moderator
    Can you check the guide here for additional details on that? You need to adjust the IP that is performing the proxy work in order for that tool to function:
    0
  • Nirjonadda
    Can you check the guide here for additional details on that? You need to adjust the IP that is performing the proxy work in order for that tool to function:

    Fixed! One More question, What nginx package will be best for performance, nginx standalone or ea-nginx? What we should select for use?
    0
  • cPRex Jurassic Moderator
    That is completely up to you. I feel there is rarely a "best" with these types of questions, and it's all about what configurations you're looking for. If you have a test server you could set up one of each and do some testing to compare.
    0
  • Nirjonadda
    No, if you install the standalone package, you do not also need the ea-nginx package.

    Not correct, Still nginx standalone required to install ea-nginx then why nginx standalone conflict with ea-nginx?
    0

Please sign in to leave a comment.