07 2021 档案
摘要:需求:服务器对外开放端口5002; 实际服务端口9010 ; 利用Nginx实现请求5002 时候自动跳转请求9010的服务; Nginx配置如下 user www www;worker_processes auto;error_log /www/wwwlogs/nginx_error.log cr
阅读全文
摘要:springboot jar 打包时候文件非常大;不利于更新和升级; 1、Pom文件 <build><!-- <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-pl
阅读全文
摘要:1、修改redis服务器的配置文件vi redis.conf 注释以下绑定的主机地址# bind 127.0.0.1 2、修改redis服务器的参数配置 修改redis的守护进程为no ,不启用127.0.0.1:6379> config set daemonize "no"OK 修改redis的保
阅读全文