Based on the domain name##nginx number of concurrent connections processes multiplied by connection
## worker_processes number of service processes, generally the same as the cpu core
worker_proces
Author: Simo
Spring boot 2.0 + Configure log4j logs
1. Maven introduces the package and excludes the default log
1
2 org.springframework.boot
3 spring-boot-starter
4
5
6 org.springframework.boot
7 spring-boot-starter-logging
8
Nginx configuration 80 port and 443 port
Docker configuration Nginx uwsgi configuration, the following experiments share the same uwsgi, only fine-tuning
Preparation: server ssl Certificate, the front-end and back-end must have a ce
Jetty9.4.5 Installing deployment documentation
jetty9.4.5 Installation and Deployment Document 1. Download the installation package wget http://central.maven.org/maven2/org/eclipse/jetty/jetty-distribution/9.4.5.v20170502/jetty-distribution-9
Jetty sets JVM parameters
1. Open the jetty.sh file and add the following:
JAVA_OPTIONS=”-Xms1024m -Xmx1024m”
2, restart jetty
Jetty deploys multiple web applications and configures Jetty to serve
Usually, one jetty deploys a java web application, but deploying only one application for a service may cause a waste of resources, so sometimes multiple web applications may be deployed on a serve
spring-boot – Spring boot – 配置EntityManager
I use Google guice in my project, and now I try to completely convert the framework to SpringBoot.
I configured Bean for persistence.xml, As shown below
@Autowired
@Bean(name = “transac
Jetty supports JSP
org.eclipse.jetty
jetty-jsp 8.1.8.v20121106
provided
Do not lack this jar package or you will get an error
org.eclipse.jetty
< artifactId>jetty-jsp
8.1.8.v20121106
provided
< p>
Don’t miss this jar package, otherwise an error will be reported
After the installation version Jetty-9.4.6 starts the service, you cannot find the resource files under Web-INF in the deployment project.
Because of the first contact with jetty, when deploying the project, follow the online steps to put the war package of the previous project
in the installation directory under webapps.
Nginx + vSFTPD Download Upload Service Deployment
The last article wrote the “expect script for fast login vsftpd”
https://blog.51cto.com/amunlinux/2426471
This article talks about nginx as a download server , Vsftpd as a combination of up
