Nginx工作原理Nginx由内核和模块组成。Nginx本身做的工作实际很少,当它接到一个HTTP请求时,它仅仅是通过查找配置文件将此次请求映射到一个locationblock,而此location中所配置的各个指令则会启动不同的模块去完成工作,因此模块可以看做Nginx真正的劳动工作者。通常一个location中的指令会涉及一个handler模块和多个filter模块(当然,多个location
分类:
其他好文 时间:
2019-11-18 09:48:20
阅读次数:
64
2==解决vue2.0里面控制台包的一些语法错误。 https://www.jianshu.com/p/5e0a1541418b 在build==>webpack.base.conf.j下注释掉 ...(config.dev.useEslint ? [createLintingRule()] : [ ...
分类:
其他好文 时间:
2019-11-17 19:25:40
阅读次数:
67
我们在编写文本编辑器的时候,可能会希望其具有支持这种功能,将文件直接拖入文本编辑器器打开。 使用方法 1.包含头文件 2.在类中加上如下声明 1)void dragEnterEvent(QDragEnterEvent event); 2)void dropEvent(QDropEvent event ...
分类:
其他好文 时间:
2019-11-16 21:32:55
阅读次数:
70
一、核心模块 数据库访问技术与集成:JDBC、XML等 Web与远程调用技术:SpringMVC、WebServlet、WebSocket等 面向切面编程:AOP 基础设施:Tomcat Spring核心容器:Beans、Core、Context、Expression、ContestSupport ...
分类:
编程语言 时间:
2019-11-14 00:18:02
阅读次数:
137
PHP压缩文件夹的方法<pre> public function addFileToZip($path, $zip) { $handler = opendir($path); //打开当前文件夹由$path指定。 while (($filename = readdir($handler)) !== ...
分类:
Web程序 时间:
2019-11-13 21:59:08
阅读次数:
92
package com.weixin.sendmessage; import org.apache.commons.lang.StringUtils; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; im... ...
分类:
微信 时间:
2019-11-12 15:56:45
阅读次数:
185
jsonwebtoken和express-jwt——nodeJs下用户权限验证,token的生成与验证工具,踩坑记录~~~ 使用步骤: 一、下载 二、生成token和验证token 在user.js文件中 const jwt = require('jsonwebtoken'); //秘钥 var s ...
分类:
Web程序 时间:
2019-11-12 12:37:25
阅读次数:
128
视图解析器 在spring-mvc文件中编写 <!--配置视图解析器--> <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <property name="prefix" value=" ...
分类:
其他好文 时间:
2019-11-12 01:14:46
阅读次数:
154
Vue控制台警告: Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more r ...
分类:
其他好文 时间:
2019-11-11 18:46:38
阅读次数:
66
默认纯虚拟函数调用错误处理程序。 当调用纯虚拟成员函数时,编译器生成调用此函数的代码。 原型: extern "C" int __cdecl _purecall(); _Purecall函数是 microsoft C++编译器的特定于 microsoft 的实现细节。 此函数不可以直接通过代码调用, ...
分类:
其他好文 时间:
2019-11-09 13:49:02
阅读次数:
126