After the company's website is always on the back of a few small bugs, but these bugs in the VI after the change to open the Web page but found that there is no change, Google some people said to delete the "/var/cache/nginx" folder, But I found
Nginx Server installation and configuration 1. installation 1) install and download nginx for windows in windows, decompress it, enter the directory, and run the following command: start nginx: nginx-s [stop | quit | reopen | reload]2) install tar
Function module of the Nginx ServerDifferences between Nginx and Apache
1. Advantages of Nginx compared with Apache
For this question, it is difficult to say which one is better. They all have advantages and disadvantages. For example, Apache
If you have not set up the nginx environment, please refer to my previous blog
Nginx Load Balancing
Lab Environment
Win7: tomcat6 + jdk6 + memcached
Linux: vmware9 + Ubuntu + jdk6 + nginx + tomcat6 + memcached
First, install memcached in
For a file permission control problem, the nginx server a.php page iframeb.html
This B .html cannot be accessed directly through the address by default.
But it must be accessible through a. php.
Reply to discussion (solution)
Iframe indicates
Nginx server does not parse php~
PHP Code
server{ Listen 8881; server_name d2.test.com; Index index.html index.htm index.php; root/home/web/d2.test.com/root/; Location/{ index index.php index.html; if (!-e
One , download and install the lnmp One-click installation package:#tar-ZXVF lnmp1.2-full.tar.gz#cd Lnmp1.2-full#./install.sh LNMPInstallation Lnmp execution:wget-c http://soft.vpser.net/lnmp/lnmp1.2-full.tar.gz && tar zxf lnmp1.2-full.tar.gz && CD
Linux in the Nginx server startup script, put this script into the/etc/init.d/directory, to start and close, and with the Chkconfig command to add Nginx to Chkconfig management, set up boot from boot.The detailed script is as
Always use WAMP as a development environment, but the work is often encountered in the Wamp no problem but submitted to the server production environment will have some unexpected situation, resulting in the idea of building LNMP environment in this
When the Linux Nginx reached a high number of concurrent numbers, the number of TCP time_wait sockets often reached 20,000 or 30,000, so that the server could easily be towed to death. In fact, we can simply modify the Linux kernel parameters to
A. Download Nginx
Download the latest version of Nginx from Nginx's official website (http://nginx.org/en/download.html), where I am downloading nginx-1.9.12.
When the download is complete, get a compressed package as shown in the following
Modify server Type Some adjustments are made in order to prevent people from being used by the graph. For example, the current use of a low version is just a leak, if found, it is not dangerous.
1. Hide version number, modify nginx.conf, join in
This article mainly introduced the automatic Nginx server's reverse proxy configuration method, the reverse proxy is the Nginx server's signboard function, needs the friend to be possible to refer to under
This would be great if you
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.