目录 一、Nginx是什么 二、Nginx实现反向代理 2.1 正向代理和反向代理 2.2 nginx实现反向代理 2.2.1 proxy_pass配置 2.2.1.1ngx_http_rewrite_module模块 2.2.2 proxy_set_header配置 2.3 nginx实现负载均衡 ...
分类:
其他好文 时间:
2020-07-18 19:51:41
阅读次数:
73
清除buffer和cache echo 3 > /proc/sys/vm/drop_cashes 磁盘操作: 逻辑级: 文件系统,块为最小寻址单元(文件块,I/O块)每个块包含一个或多个扇区,直接缓存文件系统数据(有文件系统参与),操作对象为文件 物理级: 磁盘块,扇区为最小寻址单元(设备块) bu ...
分类:
系统相关 时间:
2020-07-18 19:46:12
阅读次数:
75
1、在application.yml配置cache-enabled: true mybatis: config-location: classpath:/mybatis-config.xml, classpath:mybatis/mybatis-config.xml mapper-locations ...
分类:
编程语言 时间:
2020-07-18 19:44:38
阅读次数:
147
问题描述 100 可以表示为带分数的形式:100 = 3 + 69258 / 714。 还可以表示为:100 = 82 + 3546 / 197。 注意特征:带分数中,数字1~9分别出现且只出现一次(不包含0)。 类似这样的带分数,100 有 11 种表示法。 输入格式 从标准输入读入一个正整数N ...
分类:
其他好文 时间:
2020-07-18 00:50:48
阅读次数:
68
1、get方式:如何为爬虫添加ip代理,设置Request header(请求头) import urllib import urllib.request import urllib.parse import random import time from fake_useragent import ...
分类:
编程语言 时间:
2020-07-17 22:29:49
阅读次数:
192
HttpModule的认识与深入理解 一个HTTP请求在HttpModule容器的传递过程中,会在某一时刻(ResolveRequestCache事件)将这个HTTP请求传递给HttpHandler容器。在这个事件之后,HttpModule容器会建立一个HttpHandler的入口实例,但是此时并没 ...
分类:
Web程序 时间:
2020-07-17 22:11:50
阅读次数:
103
GAC(Global Assembly Cache)全局程序集缓存,是用于存放.Net应用程序共享的程序集。 像平常我们在Visual Studio中引用系统程序集时,这些程序集便来自于GAC。 下面介绍如何使用Gacutil.exe来对GAC进行管理 Gacutil会随 Visual Studio ...
分类:
Web程序 时间:
2020-07-17 13:59:16
阅读次数:
93
Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two n ...
分类:
其他好文 时间:
2020-07-17 13:33:50
阅读次数:
46
OS:7.2.1511(Core)[root@zabbix-server~]#cat/etc/redhat-releaseCentOSLinuxrelease7.2.1511(Core)[root@zabbix-server~]#cat/etc/redhat-releaseCentOSLinuxrelease7.2.1511(Core)1,下载CentOS7的repo文件wget-O/etc/yu
分类:
其他好文 时间:
2020-07-17 01:18:57
阅读次数:
97
参考视频:https://www.bilibili.com/video/BV14J4114768?p=198 码云:https://gitee.com/xiaoqiang001 JS部分:HTML、css要求会切图,js基础部分函数、对象和bom以及dom 1.选择器: 后代选择器:.nav a 子 ...
分类:
Web程序 时间:
2020-07-16 21:53:18
阅读次数:
133