摘要: location ~ /Vend1/$ { return 201 'First RegExp $uri'; } location ~* /Vend1/(.*)$ { return 202 'IgnoreCase RegExp $uri'; } location ^~ /Vend1/ { return 阅读全文
posted @ 2022-05-13 19:58 ascertain 阅读(28) 评论(0) 推荐(0) 编辑
摘要: Module ngx_http_realip_module (nginx.org) 先验证X-Real-IP & X-Forwarded-For: 验证realip proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_add 阅读全文
posted @ 2022-05-13 17:04 ascertain 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-05-13 14:34 ascertain 阅读(6) 评论(0) 推荐(0) 编辑
摘要: Express application generator (expressjs.com) import express from 'express' import bodyParser from 'body-parser' const app = express() app.use(bodyPar 阅读全文
posted @ 2022-05-13 14:25 ascertain 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 将query string编码后发送 curl 'ram.canto.com/rt/tt' --data-urlencode 'name=啊&age=55' --get --data-urlencode <data> HTTP POST data url encoded --get Put the 阅读全文
posted @ 2022-05-13 13:40 ascertain 阅读(27) 评论(0) 推荐(0) 编辑
摘要: Module ngx_http_core_module (nginx.org) 阅读全文
posted @ 2022-05-13 00:19 ascertain 阅读(58) 评论(0) 推荐(0) 编辑