Hi
I am struggling with an issue which only appears on CentOS 7 nginx_apache and Cloudlinux together.
Whenever i install cloudlinux as the last step this 502 bad gateway appears (after server reboot). I tried to build all after installing cloud linux, also build rewrites - but nothing is working. Same page appears instead of real (magento site). Before CL it was working well, so there must be a conflict after CL.
When looking in error logs of nginx i see this, but don't know if there is any clue in it.
2015/02/28 15:36:00 [error] 1292#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 77.133.3 7.148, server: magento.mysite.com, request: "GET / HTTP/1.1", upstream: "http://ift.tt/1BqnpyE;, host: "magento.mysite.com"
My options.cnf
I am struggling with an issue which only appears on CentOS 7 nginx_apache and Cloudlinux together.
Whenever i install cloudlinux as the last step this 502 bad gateway appears (after server reboot). I tried to build all after installing cloud linux, also build rewrites - but nothing is working. Same page appears instead of real (magento site). Before CL it was working well, so there must be a conflict after CL.
When looking in error logs of nginx i see this, but don't know if there is any clue in it.
2015/02/28 15:36:00 [error] 1292#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 77.133.3 7.148, server: magento.mysite.com, request: "GET / HTTP/1.1", upstream: "http://ift.tt/1BqnpyE;, host: "magento.mysite.com"
My options.cnf
Code:
#PHP Settings
php1_release=5.6
php1_mode=php-fpm
php2_release=no
php2_mode=php-fpm
opcache=yes
htscanner=no
php_ini=no
php_timezone=Europe/Copenhagen
php_ini_type=production
ioncube=yes
zend=no
suhosin=no
x_mail_header=yes
#MySQL Settings
mysql=5.6
mysql_inst=no
mysql_backup=yes
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups
mysql_force_compile=no
#WEB Server Settings
webserver=nginx_apache
litespeed_serialno=trial
modsecurity=no
modsecurity_ruleset=comodo
apache_ver=2.4
apache_mpm=auto
mod_ruid2=no
harden_symlinks_patch=yes
use_hostname_for_alias=no
redirect_host=m2.proudwing.com
redirect_host_https=no
#WEB Applications Settings
phpmyadmin=yes
phpmyadmin_ver=4
squirrelmail=no
roundcube=yes
webapps_inbox_prefix=no
#ClamAV-related Settings
clamav=no
clamav_exim=yes
modsecurity_uploadscan=no
proftpd_uploadscan=no
pureftpd_uploadscan=no
suhosin_php_uploadscan=no
#Mail Settings
exim=yes
eximconf=no
eximconf_release=2.1
blockcracking=no
easy_spam_fighter=no
spamassassin=no
dovecot=yes
dovecot_conf=yes
pigeonhole=no
#FTP Settings
ftpd=pureftpd
#Statistics Settings
awstats=no
webalizer=yes
#CustomBuild Settings
custombuild=2.0
autover=no
bold=yes
clean=yes
cleanapache=yes
clean_old_tarballs=yes
clean_old_webapps=yes
downloadserver=files6.directadmin.com
#Cronjob Settings
cron=no
cron_frequency=weekly
email=email@domain.com
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=yes
#CloudLinux Settings
cloudlinux=yes
cagefs=no
#Advanced Settings
autoconf=yes
automake=yes
libtool=yes
curl=no
new_pcre=no
Centos 7, Nginx + Cloudlinux = 502 bad gateway
Aucun commentaire:
Enregistrer un commentaire