Docker: deploy Nginx reverse proxy
Docker: deploy Nginx reverse proxy
Environmental preparation
The following services are required
DockerDocker compose (Docker Desktop under Windows / MacOS comes with it, which can be installed without additional installation)Node. JS (used to start an express back-end service. If there are other services such as java+tomcat and golang, ...
Added by robinstott on Mon, 28 Feb 2022 11:20:38 +0200
nginx source code analysis -- master and worker process model
1, Overall architecture of Nginx
nginx in normal execution will have multiple processes. The most basic processes are master process (monitoring process, also known as main process) and woker process (working process), and possibly cache related processes.
A relatively complete overall frame structure is shown in the figure:
2, Core proces ...
Added by Sulphy on Sat, 26 Feb 2022 08:17:12 +0200
In a rage, I picked up the core knowledge points of Nginx
What is Nginx?Nginx is a lightweight / high-performance reverse proxy Web server for HTTP, HTTPS, SMTP, POP3 and IMAP protocols. He realizes very efficient reverse proxy and load balancing. He can handle 20000-30000 concurrent connections. The official monitoring can support 50000 concurrent connections. Now there are many users using nginx web ...
Added by Smee on Fri, 25 Feb 2022 03:43:33 +0200
Microservices have everything from code to k8s deployment (k8s deployment)
We will use a series to explain the complete practice of microservices from requirements to online, from code to k8s deployment, from logging to monitoring.
The whole project uses the micro services developed by go zero, which basically includes go zero and some middleware developed by relevant go zero authors. The technology stack used is bas ...
Added by darktimesrpg on Fri, 25 Feb 2022 03:34:11 +0200
Using nginx to build audio and video on demand service -- Based on DASH protocol
in the previous paragraph, I studied the on-demand service under HLS protocol, which is the same as the nginx module used to build under DASH protocol introduced in this paper. You can refer to it
Building an audio and video on demand server using nginx -- Based on HLS protocol
1.
1 DASH streaming media protocol
...
Added by sherry on Wed, 23 Feb 2022 17:19:53 +0200
Nginx website service configuration
catalogue
Nginx website service
1, Compilation and installation of Nginx
1. Turn off the firewall and the software package required by nginx to the / opt directory
2. Install dependent packages
3. Create running users and groups
4. Compile and install Nginx
5. Check, start, restart and stop nginx service
6. Add Nginx system service
...
Added by duke on Wed, 23 Feb 2022 10:37:05 +0200
Session is shared with Cookie, deployment memcached and session
nginx problem handling
1. Cache files on the client
If the user repeatedly accesses the same file of the server, it can be cached to the client to avoid the server repeatedly transmitting the same file and save time
Open the configuration file and add a location under the default location
location ~* \.(jpg|html|txt|mp3) ${/ / when it i ...
Added by PyraX on Mon, 21 Feb 2022 13:48:02 +0200
How to set the management password for your nginx service
catalogue
1. Install the package on which Nginx compilation depends
2. Download and install Nginx
Generate certificate:
Configure nginx https:
1. Install the package on which Nginx compilation depends
In centos, you can use yum to install the following dependent packages:
yum install -y gcc gcc-c++ pcre pcre-devel zlib zlib-deve ...
Added by lexx on Mon, 21 Feb 2022 05:37:44 +0200
Java extension Nginx 7: shared memory
Welcome to my GitHub
Here we classify and summarize all the original works of Xinchen (including supporting source code): https://github.com/zq2599/blog_demos
Overview of this article
As the seventh article in the "Java extends Nginx" series, let's learn about a utility shared memory. Before we officially start, let's look at ...
Added by hoyo on Sun, 20 Feb 2022 20:55:44 +0200
Java extension Nginx 6: two filter s
Welcome to my GitHub
Here we classify and summarize all the original works of Xinchen (including supporting source code): https://github.com/zq2599/blog_demos
Overview of this article
This article is the sixth in the "Java extends Nginx" series, Above The five handlers form the basic framework of nginx clojure development. The ...
Added by mrvanjohnson on Sun, 20 Feb 2022 12:05:05 +0200