
-
All
-
web3.0
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Backend Development
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Web Front-end
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Database
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Operation and Maintenance
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Development Tools
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
PHP Framework
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Common Problem
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Other
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Tech
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
CMS Tutorial
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Java
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
System Tutorial
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Computer Tutorials
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Hardware Tutorial
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Mobile Tutorial
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Software Tutorial
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-
-
Mobile Game Tutorial
-
Mac OS
-
Linux Operation and Maintenance
-
Apache
-
Nginx
-
CentOS
-
Docker
-
LVS
-
vagrant
-
debian
-
zabbix
-
kubernetes
-
ssh
-
fabric
-

How to configure Nginx to detect service status
1. Check whether the check status module is installed; [root@localhost~]#nginx-vnginxversion:nginx/1.12.2builtbygcc4.8.520150623(redhat4.8.5-36)(gcc)configurearguments:--prefix=/usr/local/nginx- -with-http_sub_module2. If not installed, recompile and install; øcheck status module; --with-http_stub_status_module[root@localh
May 31, 2023 am 11:13 AM
How to set the access_log log of nginx
There are two main instructions for nginx logs: 1) log_format: used to set the log format; 2) access_log: used to specify the storage path and format of the log file log_format log format 1. Syntax: log_formatname (format name) format style (that is, what you want What kind of log content is obtained) Example: log_formatmain'$remote_addr-$remote_user[$time_local]"$request"''$status$body_bytes_sent&
May 31, 2023 am 10:28 AM
How to use Nginx reverse proxy to solve cross-domain problems
The problem is in the article about cross-domain resource sharing shared before. It is mentioned that when cross-domain, if you want to send cookies, access-control-allow-origin cannot be set to *. It must be specified clearly and consistent with the requested web page. domain name. I encountered such problems when collaborating with others during the development of this project. Generally speaking, the solution is to use cors cross-domain resource sharing with the backend to set access-control-allow-origin to the domain name visited. This requires the cooperation of the backend, and some browsers do not support it. Based on the cooperation with the partner's backend, the nginx direction proxy is used to satisfy the browser's same-origin policy to implement the cross-domain implementation method reverse proxy concept.
May 31, 2023 am 10:20 AM
What is the upstream configuration and function of nginx?
Configuration example upstreambackend{serverbackend1.example.comweight=5;serverbackend2.example.com:8080;serverunix:/tmp/backend3;serverbackup1.example.com:8080backup;serverbackup2.example.com:8080backup;}server{location/{proxy_passhttp ://backend;}}Command syntax: upstreamname{.
May 30, 2023 pm 10:28 PM
How to configure Nginx virtual host on CentOS
Experimental environment A minimally installed centos7.3 virtual machine configures the basic environment 1. Install nginxyuminstall-yepel-*yumisntall-ynginxvim 2. Establish the site root directory of the virtual machine host mkdir/var/wwwrootmkdir/var/wwwroot/site1mkdir/var/ wwwroot/site2echo-e"site1">>/var/wwwroot/site1/index.htmlecho-e"site2">>/var/
May 30, 2023 pm 09:45 PM
How to configure nginx page cache
nginx page cache 1. Instruction description proxy_cache_path syntax: proxy_cache_pathpath[levels=number]keys_zone=zone_name:zone_size[inactive=time][max_size=size]; Default value: none Usage field: http directive specifies the cache path and some other parameters , the cached data is stored in a file, and the hash value of the proxy url is used as the key and file name. The levels parameter specifies the number of cached subdirectories, for example: proxy_cache_path/data/nginx/ca
May 30, 2023 pm 07:13 PM
How to configure nginx log access_log
The access log of the web server is very important. We can analyze the user's access through the access log, and we can also find some abnormal access, such as CC attacks, through the access log. Format: access_log/path/to/logfileformat; access_log can be configured in the http, server, and location configuration sections. Configuration example: server{listen80;server_namewww.xxx.com;root/data/wwwroot/www.xxx.com;indexindex.htmlindex.php;access_lo
May 30, 2023 pm 06:28 PM
How to use Nginx web server caddy
Introduction to Caddy Caddy is a powerful and highly scalable web server that currently has 38K+ stars on Github. Caddy is written in Go language and can be used for static resource hosting and reverse proxy. Caddy has the following main features: Compared with the complex configuration of Nginx, its original Caddyfile configuration is very simple; it can dynamically modify the configuration through the AdminAPI it provides; it supports automated HTTPS configuration by default, and can automatically apply for HTTPS certificates and configure it; it can be expanded to data Tens of thousands of sites; can be executed anywhere with no additional dependencies; written in Go language, memory safety is more guaranteed. First of all, we install it directly in CentO
May 30, 2023 pm 12:19 PM
How to limit the number of connections in nginx speed limit
Scenario: Company A has 100 people, and Company A only has one public IP. Assume that Company A may have 100 people downloading your website files at the same time. However, your connection limit configuration is: limit_conn_zone$binary_remote_addrzone=perip:1m;server{---limit_connperip1;limit_rate1024k;---} allows a single connection number, and the maximum bandwidth of a single connection is 1m. In this way, there will be 99 people with a request status of 503. Others must wait manually if they want to download (nginx will not notify users that user a has finished downloading, and it is your turn to download user b). The use caused by this
May 30, 2023 am 11:19 AM
How to use Nginx_geo module to implement CDN scheduling
To introduce the geo module of nginx, the geo instruction is provided by the ngx_http_geo_module module. By default, nginx loads this module unless artificially --without-http_geo_module. The ngx_http_geo_module module can be used to create variables whose values depend on the client IP address. The usage is as follows: geo command syntax: geo[$address]$variable{...} Default value: - Configuration section: http definition obtains the client's IP address from the specified variable. By default, nginx gets the client ip address from the $remote_addr variable, but it can also
May 30, 2023 am 10:27 AM
How to compile and install Nginx
Nginx compilation and installation system platform: CentOS7.4 Nginx version: nginx-1.12.2.tar.gz Pcre version: pcre-8.42.tar.gz Required dependencies: gcc-c++libtool Third-party library: zlibzlib-developensslopenssl-develpcre 1. Installation Compilation tools and library files>yuminstall-ymakezlibzlib-developensslopenssl-develgcc-c++>libtoolzlib library: The zlib library is ngx_http_gzip_module
May 30, 2023 am 08:51 AM
What are the ways Nginx implements session persistence?
1. The session based on ip_hash is maintained. When doing Nginx load balancing, you can set ip_hash in upstream. Each request is allocated according to the hash result of the access IP and mapped to a fixed server. When the back-end server goes down, The session will be lost. When a request is made again, another normal server will be accessed again and the session will be maintained. The disadvantage is that since the same IP client always accesses a back-end server, this may lead to load imbalance. The following is the session persistence format of ip_hash. It is assumed here that the backend servers are running normally and are configured in the Nginx proxy server (load balancing server): =================
May 29, 2023 pm 11:15 PM
How to scroll nginx logs in docker
Docker uses 1.dockerps to view running containers 2.dockerimages to view docker images 3.dockerrmid (container id) to delete containers (the container id can be viewed through dockerps, and the container must be stopped before it can be deleted) 3.1 Delete all containers dockerrm`dockerps-a-q ` 4.dockerstopid (container id) stops the container from running 5.dockerrmiid (image id) deletes the image 6.dockerpullubuntu:16.04 (image name: version number) downloads the image 7.dockerr
May 29, 2023 pm 09:40 PM
How to install LEMP environment for Nginx server in Ubuntu
Preparation for installing the ubuntu16.04 server version Step 1: Install nginx server 1. nginx is an advanced, resource-optimized web server program used to display web pages to visitors on the Internet. We start with the installation of the nginx server and use the apt command to obtain the nginx program from the official software repository of ubuntu. $sudoapt-getinstallnginx install nginx2 on ubuntu16.04, then enter the netstat and systemctl commands to confirm that the nginx process has been started and bound to port 80. $netstat-tlpn check nginx network port connection $s
May 29, 2023 pm 09:05 PM
Hot tools Tags

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)
Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit
VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version
Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit
VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version
Chinese version, very easy to use

Hot Topics









