Nginx is superior to apache in a high-pressure environment, so I downloaded one and tried it. Download, compile, and install. my compilation process is a bit special: 1. Delete the debugging information, modify the $ nginx_setup_path/auto/cc/gcc file, and comment out the CFLAGS = & quot; $ CFLAGS-g & quot; line. 2. FastCGI is not installed because it only tests the performance of the WEB server.
Nginx is superior to apache in a high-pressure environment, so I downloaded one and tried it.
Download, compile, and install. my compilation process is a bit special:
1. Delete the debugging information, modify the $ nginx_setup_path/auto/cc/gcc file, and comment out the CFLAGS = "$ CFLAGS-g" line.
2. FastCGI is not installed because it only tests the performance of the WEB server.
1234567 |
./configure \ --prefix=/opt/nginx \ --user=www \ --group=www \ --with-http_stub_status_module \ --with-http_ssl_module \ --without-http_fastcgi_module |
After the installation is complete, copy a bunch of static HTML pages in the production environment to the nginx server. my nginx. conf configuration is as follows:
123456789101112131415161718192021222324252627282930313233343536373839404142 |