1. Static resource type Nginx as a static resource Web server deployment configuration, transmission is very High efficiency, often used for static resource processing, request, dynamic and static
Tag: nginx
Nginx basic introduction and principle
1.1nginx basic introduction 1. The principle of nginx high concurrency (multi-process + epool achieves high concurrency) 1. After Nginx is started, there will be a master process and multiple inde
Nginx – External HTTP connection failed (port open)
On the hosted Ubuntu VM, I run nginx of http and https, and I can access those using public IP from the VM:
< /p> curl http://159.203.0.5 Performing the same operation outside the VM failed-c
Nginx basic domain name port IP virtual host
Based on the domain name##nginx number of concurrent connections processes multiplied by connection
## worker_processes number of service processes, generally the same as the cpu core
worker_proces
Nginx configuration 80 port and 443 port
Docker configuration Nginx uwsgi configuration, the following experiments share the same uwsgi, only fine-tuning
Preparation: server ssl Certificate, the front-end and back-end must have a ce
Nginx + vSFTPD Download Upload Service Deployment
The last article wrote the “expect script for fast login vsftpd”
https://blog.51cto.com/amunlinux/2426471
This article talks about nginx as a download server , Vsftpd as a combination of up
Nginx Detailed 28: NGINX Architecture Nginx + Lua Security WAF Firewall
Nginx+Lua’s secure waf firewall
Take a look at what others have written: https://github.com/loveshell/ngx_lua_waf
First install git: yum -y install git
Execute under /opt/download
Nginx details
Nginx is http server software like Apache. The difference between them is that Apache’s processing speed is slow and consumes memory resources, while nginx is the opposite. Functionally, all Apache
Nginx virtual host: PHP5-FPM-Sock error
I am trying to set up a virtual host for a new ubuntu/php5.5/nginx installation
etc/nginx/sites_available/mydomain.com:< /p>
server {
listen 80 default_server;
root /home/www/mydomain.c
Enhance NGINX performance
1. At the system level
1, adjust the number of open files at the same time
ulimit -n 20480
2, the maximum number of TCP connections (somaxconn)
echo 10000> /proc/sys/ net/core/somaxconn
3, TCP conn