Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Nginx Settings Management

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Nginx

A high-performance, lightweight Web services software

high stability

Low system resource consumption

High throughput for HTTP concurrent connections

A single physical server can support 30,000 to 50,000 concurrent requests

First, install Nginx service

Please check my blog for details of installation process: blog.51cto.com/14557905/2460945

Nginx service installation complete!

Second, Nginx management

[root@localhost ~]# killall -s QUIT nginx //Close service [root@localhost ~]# killall -3 nginx //Close service [root@localhost ~]# killall -s HUP nginx //overloaded services [root@localhost ~]# killall -1 nginx //heavy load service

1.Nginx added as a system service, making management scripts

privilege

2.Nginx status statistics function

Modify the nginx.conf configuration file

Restart the service and install the domain name resolution service using the domain name view

Configuring Domain Name Resolution Services

Start DNS and test

Start a new client

View status statistics

3.Nginx Access Control

modify the configuration file

Set Access Login Password

Restart service, access test

Access restrictions set successfully!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report