在nginx中配置proxy_pass时,当在后面的url加上了/,相当于是绝对根路径,则nginx不会把location中匹配的路径部分代理走;如果没有/,则会把匹配的路径部分也给代理走。 首先是location进行的是模糊匹配 1)没有“/”时,location /abc/def可以匹配/abc ...
分类:
其他好文 时间:
2020-03-23 11:22:52
阅读次数:
70
zabbix-proxy 代理服务器安装: 1、数据库的安装 docker run --name maridb -t \ -p 3310:3306 \ -e MYSQL_DATABASE=zabbix \ -e MYSQL_USER=zabbix \ -e MYSQL_PASSWORD=zabbix ...
分类:
其他好文 时间:
2020-03-22 23:58:34
阅读次数:
240
第一步:填写配置信息: spring: aop: proxy-target-class: true auto: true datasource: druid: # 数据库 1 db1: url: jdbc:mysql://localhost:3306/db1?useUnicode=true&char ...
分类:
编程语言 时间:
2020-03-21 20:51:53
阅读次数:
90
环境: vscode 1.43.1 Ubuntu 18.04.1 LTS x86_64 Python 3.6.8 pip3: Package Version astroid 2.3.3 autopep8 1.5 Django 2.0 isort 4.3.21 lazy-object-proxy 1. ...
分类:
其他好文 时间:
2020-03-21 16:29:01
阅读次数:
114
vue cli3.x 使用方式: 在vue.config.js加入 devServer: { proxy: 'http://localhost:8080' } 前端直接axios 调用方式: 官网:https://cli.vuejs.org/zh/config/#devserver ...
分类:
其他好文 时间:
2020-03-21 14:49:14
阅读次数:
212
Flask框架整个流程源码解读 """ app.run() 本质执行的是 run_simple(ip,host,self) self 是当前的app对象 app.__call__ """ golbal文件,生成这些对象 _request_ctx_stack = LocalStack() _app_c ...
分类:
其他好文 时间:
2020-03-20 23:54:45
阅读次数:
131
点击返回:自学Zabbix之路 点击返回:自学Zabbix4.0之路 点击返回:自学zabbix集锦 1. Zabbix性能变慢的可能表现: zabbix队列有太多被延迟的item,可以通过administration-queue查看 zabbix绘图中经常出现断图,一些item没有数据 带有nod ...
分类:
其他好文 时间:
2020-03-18 11:54:24
阅读次数:
49
一、采用代理1、xaml的Resources中添加一个FrameworkElement的代理<Window.Resources> <FrameworkElement x:Key="Proxy" DataContext="{Binding}"/> </Window.Resources>2、用一个隐藏的 ...
手动封装代理 在服务里面封装一个http请求,发向被代理的服务器,将被代理服务器返回的数据,发送给客户端,承担一个中间桥梁作用,实现代理。 ~~~ / 创建一个代理服务器,给发送过来的请求发送响应拉钩的服务器数据 http://localhost:8099/listmore.json?pageNo= ...
分类:
Web程序 时间:
2020-03-18 09:21:05
阅读次数:
61
1、在nginx上进行配置 location /web/{ root D:/fxglxt/src/main/resources/static; index index.html index.htm; } location /fxglxt/{ proxy_pass http://127.0.0.1:8 ...
分类:
其他好文 时间:
2020-03-17 19:39:05
阅读次数:
141