1. Nginx 反向代理,负载均衡,动静分离,工作原理及优化 nginx配置反向代理。 vim Nginx.conf Server模块中配置 Listen 80 Server_name ip; 在server段里面的location加上proxy_pass http://ip:端口; Nginx配 ...
分类:
系统相关 时间:
2020-06-05 22:53:43
阅读次数:
204
要放在http之前 #tcp_proxy stream { upstream tcp_proxy{ hash $remote_addr consistent; server 192.168.8.56:4809; #需代理的IP+PORT } server { listen 4111; proxy_c ...
自建github文件下载加速站点,支持release、archive以及文件,彻底解决国内GitHub下载慢的问题。 加速站点:https://odd-snowflake-18ae.lx164.workers.dev/ 直接访问即可。 站点按照这位大佬的开源项目搭建https://github.co ...
分类:
其他好文 时间:
2020-06-05 20:49:05
阅读次数:
250
环境:CentOS7.4软件版本:Zabbix4.4准备工作:配置静态IPDNS、关闭防火墙、关闭selinux设置RPM源#官方源服务器在国外,这里选择阿里源rpm-ivhhttps://mirrors.aliyun.com/zabbix/zabbix/4.4/rhel/7/x86_64/zabbix-release-4.4-1.el7.noarch.rpm安装mariadb与设置#yum安装y
分类:
其他好文 时间:
2020-06-05 18:08:41
阅读次数:
93
报错:👇👇 Attempted to add application window with unknown token XXXUnable to add window——token android.os.BinderProxy@196e65b8 is not valid;is your act ...
分类:
移动开发 时间:
2020-06-05 11:40:11
阅读次数:
83
idea创建Springcloud项目时报错: Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings. Error message: Cannot downlo ...
分类:
编程语言 时间:
2020-06-04 21:37:38
阅读次数:
149
一:Spring Data JPA简介 Spring Data JPA 是 Spring 基于 ORM 框架、JPA 规范的基础上封装的一套JPA应用框架,可使开发者用极简的代码即可实现对数据库的访问和操作。它提供了包括增删改查等在内的常用功能,且易于扩展!学习并使用 Spring Data JPA ...
分类:
编程语言 时间:
2020-06-04 15:21:53
阅读次数:
79
最终配置的方案是浏览器和 Nginx 之间走的 HTTPS 通讯,而 Nginx 到 Tomcat 通过 proxy_pass 走的是普通 HTTP 连接。 下面是详细的配置(Nginx 端口 80/443,Tomcat 的端口 8080): Nginx 这一侧的配置没什么特别的: upstream ...
分类:
Web程序 时间:
2020-06-04 01:22:21
阅读次数:
87
解决端口占用 Windows上端口占用会提示诸如以下错误: Fatal error. can't bind to 127.0.0.1:10809: There may be another Privoxy or some other proxy running on port 10809 解决该异常 ...
算法名称 简称 概述 轮询(默认) round-robin(RR) 按照时间顺序逐一分配到后端不同的服务器 weight weight-round-robin(WRR) 加权轮询,weight值越大,分配到的访问几率越高 ip_hash ip_hash 每个请求按访问IP的hash结果分配,这样来自 ...
分类:
其他好文 时间:
2020-06-01 23:48:22
阅读次数:
80