Article Tags
How to install nginx1.10.1 reverse proxy in Windows to access IIS website

How to install nginx1.10.1 reverse proxy in Windows to access IIS website

First, go to the official website to download the software package and unzip it. It is best not to have the path problem with the Chinese nginx configuration. Under Windows, the file path can be separated by "\", "\\", or "/". symbol. But "\" is the most likely to cause problems, so try to avoid using it. Do not add path, otherwise it will cause an error. The config file path cannot be found. For example, I decompressed the cmd command on the e drive to locate the folder where nginx.exe is located, cde:\worksoftware\nginx-1.10.1 and then execute it. First ensure the nginx.conf file There is no problem with the configuration. In fact, the most important and main job of nginx is the configuration file, and there is nothing else.

May 23, 2023 pm 05:40 PM
Windows iis nginx
How to set a third-level domain name in nginx

How to set a third-level domain name in nginx

Problem description: By configuring nginx, you can set up an IP address to access different web applications through different ports. However, after a long time, the relationship between the port number and the application becomes blurred. For example, http://120.79.79.xx:9001 and foreign.xxx.xin. Although these two URLs point to the same website, the latter is obviously meaningless and much better than the former. At the same time, in website SEO, the latter also has a higher weight than the former. Basic knowledge top-level domain name: .com.cn second-level domain name: baidu.comsina.com, among which baidu and sina are the second-level domain names; third-level domain name: zhidao.baidu.com among which zhi

May 23, 2023 pm 05:31 PM
nginx
How to use Nginx reverse proxy and load balancing to build a multi-person test environment

How to use Nginx reverse proxy and load balancing to build a multi-person test environment

Implementation Principle When we visit a website, there will be a user-agent header in the request header, such as mozilla/5.0(macintosh;intelmacosx10.12;rv:50.0)gecko/20100101firefox/50.0. This ua can be customized, many Browser plug-ins also support adding custom UAs, such as Firefox's useragentswicher plug-in. As shown in the picture, a custom ua has been added here, and the content has been changed to its own name. By requesting the website through this ua, we can see in the request header that the ua has become our own, which is an identification. According to this ua, it is judged through nginx. Different

May 23, 2023 pm 05:29 PM
nginx
Nginx service installation and software upgrade methods

Nginx service installation and software upgrade methods

Experimental environment: [root@nginx~]#cat/etc/redhat-releaseCentOSLinuxrelease7.4.1708(Core)[root@nginx~]#uname-r3.10.0-693.el7.x86_64 Please prepare a low version Nginx server for low version environment installation. Reference: Novices can also complete the 0-based deployment of Nginx services, prepare and compile new versions of Nginx software, view old versions of Nginx: [root@nginxnginx-1.10.3]#/app/nginx/sbin/nginx-Vnginxversion:ngin

May 23, 2023 pm 04:55 PM
nginx
How to install LEMP environment for Nginx server in Ubuntu

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 23, 2023 pm 04:49 PM
Ubuntu nginx lemp
How to configure nginx static file server

How to configure nginx static file server

配置步骤配置nginx\nginx-1.13.4\conf\nginx.conf文件#usernobody;worker_processes1;#error_loglogs/error.log;#error_loglogs/error.lognotice;#error_loglogs/error.loginfo;#pidlogs/nginx.pid;events{worker_connections1024;}http{includemime.types;default_typeapplicat

May 23, 2023 pm 04:43 PM
nginx
How to recompile Nginx and add modules

How to recompile Nginx and add modules

1. Find the source code root directory where nginx is installed (that is, the directory where the installation package is stored). If not, download the new source code and decompress cdsoftwaresnginx-1.10.2nginx-1.10.2.tar.gz2. Check the nginx version and compilation parameters /usr/local /nginx/sbin/nginx-v3, enter the nginx source code directory cdnginx-1.10.24, recompiled code and modules./configure--prefix=/usr/local/nginx--with-http_ssl_module5, execute make (note: thousands Never make in

May 23, 2023 pm 03:28 PM
nginx
How to configure and use Nginx server in Node.js

How to configure and use Nginx server in Node.js

Node.js is a platform built on the Chrome JavaScript runtime, which is used to easily build web applications with fast response speed and easy expansion. Node.js uses an event-driven, non-blocking I/O model to be lightweight and efficient. It is very suitable for data-intensive real-time applications running on distributed devices, such as real-time chat and so on. However, gzip encoding, static files, http caching, SSL processing, load balancing and reverse proxy, etc., can all be completed through nginx, thereby reducing the load on node.js and saving website traffic through nginx's powerful cache. Improve website loading speed. The flow chart nginx configuration is as follows: http{proxy_

May 23, 2023 pm 03:25 PM
Node.js nginx
How to configure Nginx to disable case sensitivity of PHP variable names

How to configure Nginx to disable case sensitivity of PHP variable names

Nginx (pronounced "engineX") is an open source, high-performance reverse proxy server that supports many load balancing algorithms. It was created by Igor Sysoev of Russia, and the first public version was released in 2004. Since then, it has become the choice of many websites and companies, including Facebook, Google, LinkedIn, Dropbox and many more. When using Nginx to forward requests for PHP websites, this may cause some problems because variable names in PHP are case-sensitive. Especially in the configuration of Nginx, if the URL contains uppercase letters when accessing the URL, a "404NotFound" may appear.

May 23, 2023 pm 03:16 PM
PHP nginx
Nginx Cache configuration plan and how to solve related memory usage problems

Nginx Cache configuration plan and how to solve related memory usage problems

5 options for nginx caching cache 1. One of the traditional caches (404) This method is to direct the 404 error of nginx to the backend, and then use proxy_store to save the page returned by the backend. Configuration: location/{root/home/html/;#Home directory expires1d;#Expiration time of the web page error_page404=200/fetch$request_uri;#404 ​​directed to the /fetch directory} Location/fetch/{#404 directed here internal ;#Indicates that this directory cannot be directly accessed externally

May 23, 2023 pm 02:01 PM
nginx cache
How to build NFS server with nginx

How to build NFS server with nginx

Introduction: What is an nfs server? NFS (Network File System) is a network file system. Its biggest function is to allow different machines and different operating systems to share files with each other through the network. Users can access files elsewhere on the network just like Same as using your own computer. Why do you need the nfs server to get data from the same place to ensure the consistency of website data? No matter which back-end server the load balancer distributes the request to, the content seen by the client is consistent. Whether nfs server is the best solution? No, nfs is a relatively cheap solution 1. Generally, companies will not use it. The performance is not particularly high. It is recommended to use a dedicated storage server. Advantages and Disadvantages of nfs

May 23, 2023 pm 12:55 PM
nginx nfs
How to compile and install nginx in lnmp environment

How to compile and install nginx in lnmp environment

The linux system I use is centos7.1. If the Linux system does not have gcc and other compilation software pre-installed, you can use the yum source to install it. To install nginx, you first need to install the dependent modules pcre, zlib, and openssl. The gzip module requires the zlib library. The rewrite module requires the pcre library. The ssl function requires the openssl library. 1. Install pcre dependencies and download pcre-8.38wgetftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38. tar.gz decompress tar-zxvfpcre-8.38.t

May 23, 2023 pm 12:34 PM
nginx lnmp
How to restart nginx service in ubuntu

How to restart nginx service in ubuntu

1. Use the shortcut key [Ctrl+Alt+T] to open the terminal command mode. 2. You can restart the nginx service in the following ways. Method one, in the nginx executable directory sbin, enter the following command to restart/nginx-sreload#Restart method two, find the current nginx process number, and then enter the command: kill-HUP process number to restart the nginx service#ps-ef|grepnginx #Find the current nginx process number]#kill-TERM132#Kill the nginx process, 132 is the nginx process number

May 23, 2023 pm 12:22 PM
Ubuntu nginx
How to install and deploy Nginx in Centos 6.5 64-bit

How to install and deploy Nginx in Centos 6.5 64-bit

1. Introduction to nginx nginx is a web server that can also be used for load balancing and reverse proxy. The most commonly used one at present is load balancing. I will not introduce the specific introduction. Baidu has many. Let’s go directly to the installation step 2. nginx Installation 1. Download nginx and related components. The Linux system is centos6.564. I directly switch to the root user to install and enter the user directory to download the program and download related components [root@localhostsrc]#wgethttp://nginx.org/download/nginx- 1.10.2.tar.gz omit installation content...[root@localhos

May 23, 2023 pm 12:19 PM
CentOS nginx

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

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

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use