nginx

  1. A

    Nginx status cpanel/whm lastversion LTS

    hello, I have the following problem, I have a server with cpanel with a web server only under apache, sometimes when I renew a ssl the system issues it but before the domain does not recognize it I have managed to solve the error reinitiating the apache and reloading the dns zone...
  2. D

    using ModSec 3 with nginx rev proxy

    I will preface this with saying that to my knowledge, this problem started after upgrading to AlmaLinux 8 and/or enabling the nginx reverse proxy. Feeling that modsec 2 was not working, I followed the modsec 3 guide, found here...
  3. G

    Nginx cache configuration for logged-in WordPress users?

    I have a site where, with caching enabled, Nginx is causing problems with user sessions. If logged in and attempting to navigate to another page that was previously cached, it logs them out and takes them to a login screen or directs them to a cached, non-logged-in version of the page. With...
  4. A

    Make an exception for NGINX on specific files

    I have a wordpress site that is supported by cpanel and using nginx. It generally works fine, but I need to exclude a few xml files from nginx cache. I've excluded them perfectly from cloudflare and everything but NGINX insists on caching them for weeks on end. They are getting refreshed every...
  5. C

    Nginx cPanel dynamic caching

    Hi, On this relative small server with low activity and low visitors, I've using Engintron for years, and we want to try Nginx Manager insted because the clear caché function to users. We have removed Engintron and installed Nginx with the official manager. I've attached screenshots with the...
  6. S

    NGINX Manager uninstall Causes Apache Logging Problems?

    Hi, I installed NGINX back in October but it was causing a couple of sites problems and uninstalled it. I recently noticed that the Visitors log stopped working in October and hasn't displayed stats since, according to file dates. I didn't realize that NGINX possibly caused the problems until I...
  7. leonep

    SOLVED Nginx listening on IPv6 addresses

    Hi, I use nginx as reverse proxy and i want disable nginx listen on ipv6 for all users. in fact I disabled ipv6 on my server but i still have ipv6 visitors on websites. on default.conf i removed lines: listen [::]:80; listen [::]:443 ssl http2; running /usr/local/cpanel/scripts/ea-nginx config...
  8. H

    Nginx or Apache not working

    When enable nginx or apache website is throwing 404. but when we enable litespeed all are working. How to solve it on apache or nginx.
  9. Netcrusher

    Apache logging issues after NGINX Manager uninstall

    I noticed a few minutes ago, that on all my cPanel servers where I once had NGINX Manager installed, the folder /etc/apache2/logs/domlogs is filled with a lot of files having the filename as the visitors IP addresses. I reinstalled NGINX Manager, removed all files and they don't reappear. But...
  10. H

    Install NGINX on existing Apache

    Hi all, I have a VPS running Apache and WHM/cPanel with few dozen websites with databases (some static, some Worpdress and few custom CMS). Can I install NGINX on existing VPS without making a total disaster out of it? What to look out for? I was reading this, looks simple enough...
  11. M

    nginx 1.21.3 taking down all sites

    2022/09/30 00:40:18 [emerg] 20297#20297: unknown "cpanel_service_subdomain" variable 2022/09/30 00:40:19 [emerg] 20491#20491: unknown "cpanel_service_subdomain" variable 2022/09/30 00:40:38 [emerg] 21968#21968: unknown "cpanel_service_subdomain" variable 2022/09/30 00:41:09 [emerg] 1507#1507...
  12. T

    Add Expires Headers inside NGINX

    I try to add Add Expires Headers inside NGINX Manager. I found excellent article Add Expires Headers Source: How to Add Expires Headers in WordPress But when it is manually added code inside config it will break NGINX Manager. Is it possible to be added checkbox inside NGINX due to performance...
  13. G

    Best profiles selection for wordpress sites

    Hello, I'm checking my cpanel configuration, which I haven't checked for a long time, and I found that there is now a configuration profile for easyapache4 that includes nginx. Has anyone changed from "cPanel Worker MPM" ( Apache 2.4 and PHP 8.0) to "cPanel Default NGINX" ( NGINX® 1.21, Apache...
  14. nisamudeen97

    engintron plugin caching php files heavily, PHP file changes not visible.

    Hi, In our cpanel/WHM production server which is having engintron plugin installed. All of a sudden we have noticed php file changes were not visble at all. For example we have uploaded a "test.php" file which is just echoing a "test" string. Then we visited it from our devices (no matter...
  15. Michael-Inet

    Added Dedicated IP to new Domain, HTTPS now goes to “Default Web Site Page”

    Hi All, I’ve added dedicated IPs to domains many times (Apache/Nginx), but something seems to have changed with the process since I did it last. This was the go to source, but the cPanel doc it referenced is now gone...
  16. B

    SOLVED After udpating to version 104.0.4 nginx configuration resetting..

    Hello, Before this version: 104.0.4 I didn't have such problem, but after auto-updating to current version, nginx.conf file keep resetting (my site don't work with your default setting so have to tweak my own settings), before there was no such things, don't know what did you do to the new...
  17. julienmru

    Nginx - Best way to use proxy_cache_purge for a specific domain?

    Hey all, We'd like to allow a user to be able to purge cache for a specific page through the HTTP PURGE method. It's well supported by Nginx but I wonder what would the best way to implement it in cPanel without breaking everything. Thanks in advance for your insights : )
  18. D

    Nginx mod_rewrite and prestashop ecommerce

    Hello, I would like to activate Nginx in front of apache because I understood that shines serving static content like images. However I use Prestashop ecommerce solution and files are stored under a rule on file sistem like picture id (let's say 123456) it's stored on /img/1/2/3/4/5/picture.jpg...
  19. B

    Nginx Proxy Caching MP4 Files

    Hello, I had cPanel on centOs 7 with nginx as reserve proxy + cache enabled, cache worked perfectly only caching static content but not big files such as mp4 files, after upgrading to almalinux 8 and reinstalling cpanel, now nginx caches big files big vidoes such as mp4 files. and the cache...
  20. A

    Nginx stoped working after last updates

    After last updates and instaling modsecurity for nginx, I have this error at restart! Error: [2022-04-27 13:38:30 +0300] info [restartsrv_nginx] systemd failed to start the service “nginx” (The “/usr/bin/systemctl restart nginx.service --no-ask-password” command (process 46228) reported error...