欢迎各位兄弟 发布技术文章
这里的技术是共享的
1) 安装 NGINX
We use following nginx site configure file in our production env.
nginx.conf 下的部分内容 见红色部分是配置 access.log 的
http {
include mime.types;
default_type application/octet-stream;
server_names_hash_bucket_size 128;
client_header_buffer_size 32k;
large_client_header_buffers 4 32k;
client_max_body_size 256m;
limit_conn_zone $binary_remote_addr zone=one:32k;
sendfile on;
tcp_nopush on;
keepalive_timeout 60;
tcp_nodelay on;
gzip on;
LogFormat "%h %l %u %t \"%v\" \"%r\" %>s %b duration %T/%D %{msec_frac}t" common
在访问服务网站的时候经常遇到502的情况,怎么去跟踪检查该问题,解决该问题呢。
service yunsuo restart
service yunsuo stop
在apache的配置文件httpd.conf里一般都有类似于LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" common 的日志记录格式设置,那么这种格式里的各个参数都代表什么意思呢,怎样设置才能完全掌握网站的访问情况呢?下面我就参数意思,简单说下。
请求本身的情况将通过在格式字符串中放置各种"%"转义符的方法来记录,它们在写入日志文件时,根据下表的定义进行转换:
innodb_buffer_pool参数解释:查看 show status like 'Innodb_buffer_pool_%';
通过数据模型层M
设置常用的content-type:
用过Photoshop的人都知道,默认情况下画出的线条都是黑色的,今天就分享一下画出彩色线条的经验
原文地址
If you like computer security topics, you will know that one of the most discussed and controversial topics is user authentication. Within its context, you will find a broad range of study areas, from new mechanisms to usability.
本文将为关注织梦者的朋友提供的是的JWT实现token相关教程,具体实例代码请看下文:
JWT(json web token)是为了在网络应用环境间传递声明而执行的一种基于JSON的开放标准。JWT的声明一般被用来在身份提供者和服务提供者间传递被认证的用户身份信息,以便于从资源服务器获取资源。比如用在用户登录上。
JSON Web Token (JWT) is a JSON-based open standard used to create access tokens that assert some number of claims.
手动我也不敢乱删,以前删错过一次,把后台相关设置的都给删了,我希望官方能把这些整理下,cache就别放后台相关设置的文件了,我当时连广告设置的东西都给删了。