LNMP architecture (Nginx installation, Nginx default virtual host, Nginx user authentication, Nginx domain name redirection)

Nginx installation 1. Enter the / usr/local/src / directory to download the installation package cd /usr/local/src/ wget http://nginx.org/download/nginx-1.6.3.tar.gz 2. Unzip installation package tar zxf nginx-1.6.3.tar.gz 3. Enter the source directory for compilation, and do not add too many plug-ins here for the time being. Later, ssl may b ...

Posted by zildjohn01 on Tue, 08 Jan 2019 15:36:10 -0800

Mac nginx File not found error

Using php-fpm to parse PHP, "No input file specified" and "File not found" are common errors that make nginx novices headache. The reason is that the php-fpm process cannot find the. PHP file to execute for SCRIPT_FILENAME configuration, and php-fpm returns the default 404 error prompt to nginx. For example, there is no test ...

Posted by philweb on Mon, 07 Jan 2019 21:39:10 -0800

Self-built https server and client certificates, nginx and spring boot applications use the same certificate, and solve the problem of chrome security warning

Reference link: Self-issued ssl certificate [spring boot] configure ssl certificate to implement https 1. Generating nginx certificates and configuring chrome security alerts 1. Install openssl 2. Generating Root Certificate openssl req -x509 -nodes -days 1461 -newkey rsa:2048 -subj "/C=CN/ST=MyProvince/L=MyCity/O=MyOrgani ...

Posted by djjjozsi on Mon, 07 Jan 2019 15:06:09 -0800

Nginx Load Balancing, ssl Principle, Generation of ssl Key Pairs, Configuration of ssl in LNMP Architecture (5)

1. Nginx load balancing Nginx load balancing means that when a proxy server resolves a customized domain name to multiple specified IP, the upstream module ensures that users can access each IP normally through the proxy server (reverse proxy multiple servers is load balancing). 1.1 Load Balancing Configuration Parameters [root@host ~]# vim /us ...

Posted by candy2126 on Mon, 07 Jan 2019 01:42:09 -0800

The pool, slow execution log, open_basedir, process management of php-fpm in LNMP architecture (6)

1. pool of php-fpm In order to avoid the problem of using the same pool for multiple sites, which is caused by the failure of one site, and then affects the normal operation of other sites using the same pool, it is necessary to set up a separate pool for each site. 1.1 Configure multiple pool s for php-fpm Edit the php-fpm configuration file: ...

Posted by Virtuali on Fri, 04 Jan 2019 22:18:09 -0800

Zabbix monitors nginx status, Zabbix monitors Mysql and Zabbix through percona, and OneAlert monitors Zabbix alarm.

1. Monitoring nginx status by zabbix Nginx has built-in a status state function, through configuration you can see the operation of nginx, status display includes the current number of connections, the number of active connections, the number of requests processed and so on. Here we use zabbix to monitor nginx services. The fo ...

Posted by Ju-Pao on Fri, 04 Jan 2019 15:03:09 -0800

Build and use K8s cluster < use ingress to expose spring cloud service >

Exposing Spring cloud services with ingress The k8s cluster has been successfully built and can be deployed, but it is impossible to check the running node and nodePort every time you visit the service. Even if you check the node and nodePort, you can't avoid restarting k8s or Replication Controller, node and nodeport will change again. K8s p ...

Posted by abigail on Thu, 03 Jan 2019 19:57:09 -0800

Hot restart golang server

Server-side code often needs to be upgraded. For online system upgrade, the usual method is to ensure that at least one service is available through the front-end load balancing (such as nginx) to upgrade, in turn (gray level). Another more convenient way is to do hot restart in the application, upgrade the application directly and keep servin ...

Posted by s4salman on Thu, 03 Jan 2019 19:12:09 -0800

Kubernetes Service & LB & Networking :Ingress

Dead work 1. Enabling the ingress plug-in of minikube minikube addons enable ingress 2. Complete the mirroring required by the ingress plug-in minikube ssh export image=nginx-ingress-controller:0.14.0 docker pull registry.cn-hangzhou.aliyuncs.com/anoy/${image} docker tag registry.cn-hangzhou.aliyuncs.com/anoy/${image} qua ...

Posted by daf_cr on Thu, 03 Jan 2019 16:36:11 -0800

rest/flask/nginx/uwsgi/supervisor

Thank you for the original author http://www.cnblogs.com/Ray-liang/p/4173923.html?Utm_source=tuicool&utm_medium=referral My deployment plan is: Web server adopts uwsgi host Flask Using Supervisor to Refer to uwsgi as a Routine Startup Service Reverse proxy based on Nginx First, Aliyun servers can be remot ...

Posted by ahmedkl on Thu, 03 Jan 2019 15:51:10 -0800