Background The official domain name filed for the original application was approved, and the TLS certificate was also applied for. The temporary domain name and certificate used before are used as
Author: Simo
Nginx deeper -Rewrite
Scenario advantages: URL access redirection, compatible support, SEO optimization, background maintenance, traffic forwarding, safe
Syntax:
Syntax: rewrite regex (regex式) r
Nginx load balancing
Nginx Load Balancing Configuration Scenario Nginx The proxy_pass proxy module is used to implement load balancing Core configuration, forward the client request proxy to a set of upstream virtual s
Expires in nginx.conf will cause errors on Ubuntu, but no errors on OSX
My nginx.conf is using local (OSX), but it throws an error on prod (Ubuntu)
Full file: https:// github.com/thomasdane/partywave/blob/master/nginx.conf
But the relevant part is:
#
Jetty plugin
The Jetty plug-in inherits from the War plug-in and adds some tasks that allow you to deploy your web application to a Jetty web embedded container during construction.
To use Jetty’s plug-in
Jetty’s NIO thread model
Overview jetty NIO is a typical reactor model, As shown below:
That is: mainReactor is responsible for monitoring the server socket, accepting new connections, and assigning the established
Introduction to Nginx
The production of Nginx Have you heard of Nginx? Then you must have heard of its “peer” Apache! Nginx is a kind of WEB server like Apache. Based on the REST architecture style, using Uniform Resour
Springboot – Prevent repeated submission (lock mechanism — local lock, distributed lock)
To prevent duplicate submissions, it is mainly handled in the form of locks. If it is a stand-alone deployment, you can use a local cache lock (Guava). If it is a distributed deployment, you need t
Spring boot log processing
2.4 Log processing 2.4.1 Record log content Request url Visitor ip Call method classMethod Parameter args Return content 2.4.2 new package aspect, new log aspect processing class package com.fei.
Springboot2 integrate DROOLS rules engine to achieve efficient business rules
The source code of this article: GitHub·click here|| GitEE·click here
(1), demonstration drl file format
package droolRule ;
import org.slf4j.Logger
import org.slf4j.LoggerFactory ;
di
