nginx smooth (no restart) upgrade

1. As for upgrading and installing nginx third-party modules, you need to check the version of nginx installed and the compiled parameters. [root@ittestserver1 opt]# /usr/local/nginx2/sbin/nginx -V nginx version: nginx/1.10.3 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) built with OpenSSL 1.1.0e 16 Feb 2017 TLS SNI support enable ...

Added by youscript on Thu, 31 Oct 2019 09:31:56 +0200

The front and back end of nginx is separated from the proxy forwarding to solve the cross domain problem

scene It is applicable to the company with front-end, and the project adopts front-end separation. Similar to the interface provided by our back-end springboot, the front-end specially writes html to call the corresponding interface to solve cross domain problems. Configuration description worker_processes 1; events { worker_connectio ...

Added by inVINCEable on Wed, 30 Oct 2019 16:46:58 +0200

Spring boot microservice configuration Cors to solve cross domain request problem

Catalog 1. Architecture design 1.1 brief description 2. Cross domain Cors principle and popular science 2.1 what is cross domain? 2.2 under what circumstances will cross domain occur?   2.3 how to avoid cross domain? 3. Cross domain solution cases 3.1 introduce the actual situation and g ...

Added by russthebarber on Sun, 27 Oct 2019 12:03:53 +0200

Nginx installation and depth optimization

Blog Outline: I. optimization before compilation and installation II. Nginx configuration item optimization 1. Adjust the number of Nginx running processes 2. CPU affinity of Nginx 3. Nginx event processing model 4. Enable efficient transmission mode 5. Connection timeout 6. fastcgi optimization 7. gzip tuning 8. Tuning of expires cache 9. ...

Added by choubix on Fri, 25 Oct 2019 15:17:40 +0300

Implementation of API Gateway Based on zuul

1. The difference between Nginx and Zuul Similarities: Zuul and Nginx can achieve load balancing, reverse proxy (hiding real ip address), filter requests, and achieve the effect of gateway. Differences: Nginx-c Language Development Zuul--java Language Development Zuul Load Balancing: Local Load Balancing Using ribbon+eureka Nginx Load Bala ...

Added by kevinsequeira on Mon, 14 Oct 2019 00:05:24 +0300

Nginx Tips: Php Uploading Progress Bar - 0010

Preparation Now the nginx-upload-module module has been added to Nginx, but it can not be used directly, there are still some preparatory work to be done. Preparing JavaScript scripts First, download or link jQuery.js directly, because modules need to cooperate with jQuery to control the progress of HTML element display. <head> ... <sc ...

Added by Xyox on Sat, 12 Oct 2019 08:17:12 +0300

Docker Tutorial for Front End Engineers - Basic Chapter

Recently, the company has been promoting containerization and k8s, and the project will be changed to Docker deployment. There are several node projects in charge of the project, so you can only learn Docker from scratch. install Docker supports windows, MAC, Linux, tutorial reference Docker Installation Tutorial. Docker is recommended for Mac ...

Added by gordo2dope on Wed, 09 Oct 2019 01:48:33 +0300

How does the network communicate between docker containers?

Related concepts: Bridge: equivalent to a virtual switch, all devices connected to the bridge can communicate normally; veth pair: virtual network card pair (2 network cards), the sending and receiving data between the two network cards are consistent; docker network: Docker0 bridge: after installing and starting docker0, there will be a net ...

Added by Hard Styler on Tue, 08 Oct 2019 17:51:21 +0300

ngxtop, a log monitoring tool for nginx

ngxtop, a log monitoring tool for nginx   Looking at nginx log files in tail? out! Tail-f log path ngxtop: ngxtop is a python-based program that can be installed on Python. ngxtop parses nginx access logs in real time and outputs the results (useful indicators of nginx servers) to terminals   ...

Added by Cory94bailly on Tue, 08 Oct 2019 17:50:51 +0300

Actual Production Environment: Detailed Explanation of the Latest K8s Lables

In this article, I will send a link to any mirror I use for you to download and learn! yaml please download to my github to learn! github: https://github.com/heyangguang If you have any questions, please contact my Email directly: heyangev@cn.ibm.com. Labels official website https://kubernetes.io/docs/co... Labels introduction Literally, it mea ...

Added by PHPist on Sun, 06 Oct 2019 11:33:14 +0300