After updated to v16.0, nginx cannot restart.
nginx: [emerg] open() "/usr/local/directadmin/data/users/apache/nginx_php.conf" failed (2: No such file or directory) in /etc/nginx/directadmin-ips.conf:17
I'm using nginx_apache web server.
Just got new CentOS 7.6 server and do the installation with those settings:
- php 7.3 fpm, nginx_apache
after installed, nginx service is unable to start, checking the log get this error:
2019/09/05 16:14:06 [emerg] 13341#0: unexpected "}" in /etc/nginx/webapps.hostname.conf:11
I config my server to use nginx_reverse, and my php code which does log user IP to database.
Recently, I notice all users have the same IP, so I checked found that php $_SERVER['REMOTE_ADDR'], $_SERVER['SERVER_ADDR'] return the server IP.
This works fine before, my CB settings are...
After update my 3 servers to 7.4, letsencrypt does not work. Get this error: "Getting challenge for domain.com from acme-server... Error: http://domain.com/.well-known/acme-challenge/letsencrypt_1505726864 is not reachable. Aborting the script. dig output for domain.com: IPv4 Please make...
My server is run on LAN/NAT with nginx and I follow this guide: https://www.directadmin.com/lan.shtml
Then I can access http://hostname.server.com, but not https://hostname.server.com
I check nginx-vhosts.conf:
listen 52.15.xxx.xxx:80; # <= this is server public...
I follow this guide to have block_ip on my server: https://help.directadmin.com/item.php?id=380
And every time I run: yum update to update my cloudlinux server, the file /usr/libexec/iptables/iptables.init is overwritten by cloudlinux. I have to download again from DA.
Any suggestion ?