the master is normal as a manager node)
7. Configure the web server and install Forum Discuz
1. When we select nginx for the web server, we first need to install the LNMP environment. This is skipped. Only the nginx configuration
/access.log;Error_log/var/log/nginx/website2/error.log;Location/{Root/website2;Index index.html index.htm;}Error_page 404/404.html;# REDIRECT Server error pages to the static page/50x.html#Error_page 502 503 504/50x.html;Location =/50x.html {root HTML;}}This file in the Nginx installation directory in the Conf inside the nginx.conf inside modifyStep 3:s use./
Before reading, it is recommended to read the first knowledge of Nginx. After that, let's look at the Nginx configuration.In abstract terms, configuring Nginx as a WEB server is the definition URLS of what to do and how to handle those URLS corresponding requests. Specifical
This article by show according to Lin Feng to provide friendship sponsorship, starting in the mud row world. Previous articles, we use Nginx are all in the Linux environment, today due to the needs of the work. You need to use Nginx to build a Web server in your Windows environment. Below is recorded under the
案例1:编写一键部署软件脚本案例2:启动脚本案例3:编写监控脚本案例4:编写安全检测脚本案例5:编写进度显示脚本1 Case 1: Writing a one-click Deployment Software Script1.1 QuestionsThis case requires script implementation of one-click deployment of Nginx Software (Web server):一键源码安装Nginx软件脚本自动安装相关软件的依赖包脚本自动判断yum是否可用1.2 StepsThe implementation of this case needs to follow th
First, Application Scenario 1Recently in a project, the use of Nginx memcached module, so in this series of tutorials in advance to put the memcached module to write. In addition, found recently my blog article frequently by a lot of web site with collectors take away, help me to carry forward, do not listen to my say thank you. Here is still hope that my blog post is reproduced when can be annotated source
Through the research of the configuration and deployment of high-performance Web server Nginx-(11) Application module of the memcached module of the two major scenarios of the article, we know how Nginx read data from memcached, if hit, then the efficiency is quite high. So:1. What if I don't hit it?We can read the dat
Key Points of Nginx optimization as a Web Server
Nginx can be used as either a Web Server or a reverse Proxy. Here we will first discuss the general optimization points of Web
Nginx 504 Gateway time-out,windows Server extranet access to the Web is not a workaroundOnly to find that the firewall of its own server does not have the Web 80 port open.(1) New rule, select Port(2) Select TCP, and a specific local port(3) Select Allow connection(4) Use t
Background introductionNginx since the birth of the 2.6 kernel supported by the Epoll model and then make the processing efficiency greatly increased by the majority of users favor, but in terms of Web services, Nginx has the functionality of Apache can be achieved, but in turn, this is the majority of scenes using Nginx as a reverse proxy and can not The reason
-tNginx:the configuration file/application/nginx-1.6.3//conf/nginx.conf syntax is OKNginx:configuration file/application/nginx-1.6.3//conf/nginx.conf Test is successfulIf you are prompted that the relevant module does not exist, place the module path in the module configuration fileCat/etc/ld.so.confExecute ldconfig make configuration changes take effectStart Nginx
In order to prevent hackers from scanning web server information, find the corresponding version vulnerabilities through the corresponding web server information, so as to intrude into the web server,
machine. The default value is 60 seconds. 2.2 The normal value of the kernel is 180 seconds, you can press this setting, but remember that even if your machine is a light-load Web server, there is a large number of dead sockets and memory overflow risk, fin-wait-2 is less dangerous than fin-wait-1, Because it can only eat up to 1.5K of memory, but they have a longer lifetime.Net.ipv4.tcp_keepalive_time = 3
Nginx ("engine X") is a high-performance HTTP and reverse proxy server and an IMAP/POP3/SMTP proxy server. NginxIt was developed by the rambler.ru site, where Igor Sysoev is the second highest traffic in Russia. It has been running on this site for more than two and a half years. IgorPublish the source code in the form of a class BSD license.
Reprinted please indicate from "LIU Da's csdn blog": http://blog.csdn.net/poechant
For more articles, refer to the csdn column nginx high-performance WEB server orBackend server development series-practical nginx High-Performance Web
As the front-end uses Nginx as the proxy server, the proxy backend Web server and the Tomcat server, the client IP that discovers the back-end server's access log records is the nginx reverse machine IP, so, the following method c
This article mainly introduces the use of Nginx in a server to deploy multiple Web server, has a certain reference value, now share to everyone, a friend in need can refer to
Recently tinkering a lot of time, at first think of this is because node directly from the server w
Nginx Server web request processing mechanism, nginxweb Mechanism
I. Detailed explanation of the web Request Processing Mechanism of the nginx Server
In terms of the design architecture, ngin
What is Nginx?1.Nginx is a lightweight Web server that can be used as a reverse proxy.2.Nginx occupies less memory, Nginx took a phased resource allocation technology, making it CPU and memory occupancy rate is very low.3. Anti-co
Web server is a key factor that directly affects the performance of the website, and it is an inevitable problem for every webmaster to choose the operating environment of the website. At present, the Web Server market products are numerous, the most mainstream and representative of the Apache,
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.