Nginx | tags

Nginx | Monitor & Restart HTTPD / NGINX conf & more service

Command Nginx Linux

Monitor service up/down & auto restart //httpd (apache) vim /root/apacherestart.sh #!/bin/bash PGREP=/usr/bin/pgrep CHKSERVICE=httpd $PGREP ${CHKSERVICE} if [ $? -ne 0 ] then # printf $? /etc/init.d/httpd restart date >> /root/apacherestart.log f.. อ่านต่อ ( read more» )

Nginx | Debian/Ubuntu + Nginx + PHP(5|7)-FPM + MySQL + Redis with VestaCP

PHP Ubuntu Nginx Command VestaCP Debian MySQL

apt-get update; apt-get upgrade -y cd /tmp wget http://vestacp.com/pub/vst-install.sh #wget http://vestacp.com/pub/vst-install-debian.sh #sed -i 's/php5/php7.0/g' vst-install-debian.sh bash vst-install.sh --nginx yes --phpfpm yes --apache no --vsftpd.. อ่านต่อ ( read more» )

Nginx | Nginx + DirectAdmin

DirectAdmin Nginx

Nginx + DirectAdmin http://nginx.org/en/download.html cd /tmp wget http://nginx.org/download/nginx-1.5.10.tar.gz tar xzvf nginx-1.5.10.tar.gz cd nginx-1.5.10 ./configure --sbin-path=/usr/local/sbin --with-http_stub_status_module --with-http_gzip_stat.. อ่านต่อ ( read more» )