I have my web server setup and now I'm ready to start moving my sites to the server (Or so I thought). I have an account setup with a site entry, DNS, FTP, SSH, etc. but after I uploaded my files and try to browse to it, it still shows the default page and I can't manually browse to any of my php or other files. The directory that ISPConfig shows as the root for the site is correct and all my site files are in the web directory. This is my first time using nginx as well. Not sure where to begin. I was hoping ispconfig would have this bit sorted out for me. What should I try?
I think this might be because it's redirecting to https and I don't have https enabled for that site. Not sure where to disable that.
turns out having a blank index.html gives the default page but now I have a bigger problem. After I got that working, I went into ISPConfig and enabled Let'sEncrypt for that site. As soon as I did that, now my site won't load at all. Even the http:// won't load now. I get 504 Gateway Timeout from nginx.
Edit: here's latest stuff in fpm log: Code: [09-Aug-2017 13:54:02] NOTICE: configuration file /etc/php/7.0/fpm/php-fpm.conf test is successful [09-Aug-2017 13:54:02] NOTICE: Reloading in progress ... [09-Aug-2017 13:54:02] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.0", {"/usr/sbin/php-fpm7.0", "--nodaemonize", "--fpm-config", "/etc/php/7.0/fpm/php-fpm.conf"}) [09-Aug-2017 13:54:02] NOTICE: using inherited socket fd=8, "/var/lib/php7.0-fpm/apps.sock" [09-Aug-2017 13:54:02] NOTICE: using inherited socket fd=8, "/var/lib/php7.0-fpm/apps.sock" [09-Aug-2017 13:54:02] NOTICE: using inherited socket fd=9, "/var/lib/php7.0-fpm/ispconfig.sock" [09-Aug-2017 13:54:02] NOTICE: using inherited socket fd=9, "/var/lib/php7.0-fpm/ispconfig.sock" [09-Aug-2017 13:54:02] NOTICE: using inherited socket fd=10, "/var/lib/php7.0-fpm/web1.sock" [09-Aug-2017 13:54:02] NOTICE: using inherited socket fd=10, "/var/lib/php7.0-fpm/web1.sock" [09-Aug-2017 13:54:02] NOTICE: using inherited socket fd=11, "/var/lib/php7.0-fpm/web2.sock" [09-Aug-2017 13:54:02] NOTICE: using inherited socket fd=11, "/var/lib/php7.0-fpm/web2.sock" [09-Aug-2017 13:54:02] NOTICE: using inherited socket fd=12, "/run/php/php7.0-fpm.sock" [09-Aug-2017 13:54:02] NOTICE: using inherited socket fd=12, "/run/php/php7.0-fpm.sock" [09-Aug-2017 13:54:02] NOTICE: fpm is running, pid 11450 [09-Aug-2017 13:54:02] NOTICE: ready to handle connections [09-Aug-2017 13:54:02] NOTICE: systemd monitor interval set to 10000ms [09-Aug-2017 13:59:19] WARNING: [pool web2] server reached pm.max_children setting (10), consider raising
I have uncommented max.requests (Now set to 500) in /etc/php/7.0/fpm/pool.d/www.conf . It seems to be working now. Guess I'm going to have to tweak my nginx stuff.