2023年08月09日 22:55:47

nginx打印日志 http

   log_format main '$remote_user [$time_local] - $http_x_Forwarded_for $remote_addr $request --'
   			'"$request_method $scheme://$host$request_uri $server_protocol" --'
					'$status $body_bytes_sent "$http_referer" -- '
					'"$http_user_agent" $request_time --';
   			'real_addr: $upstream_addr --'
   			'ups_resp_time: $upstream_response_time --'
    			'request_time: $request_time';

2023年08月09日 22:44:28

nginx try-file配置文件转发规则

location /images/ {
    root /opt/html/;
    try_files $uri   $uri/  /images/default.gif =404; 
}

比如 请求 127.0.0.1/images/test.gif 会依次查找 1.文件/opt/html/images/test.gif 2.文件夹 /opt/html/images/test.gif/下的index文件 3. 请求127.0.0.1/images/default.gif

如果没有匹配到,最后返回=后面的状态码

2023年08月09日 14:30:39

sql断点类:boundsql

2023年08月07日 10:00:43

设置idea内存大小无效

是使用那种插件(补丁)激活的,具体就是你当初破解激活的时候解压的那个包ja-netfilter-all文件夹,点进去里面有个vmoptions文件夹。改里面的idea.vmpotions就可以啦

2023年08月01日 13:43:48

正则表达式

\x.+.y
可以匹配以x开头,y结尾的字符串

2023年07月30日 10:49:28

为了修改博客的页面。需要卷一波。

Thymeleaf 教程 | 範宗雲 (fanlychie.github.io)

2023年07月29日 21:31:26

123