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
1 assign方法跳转到指定的url 2 reload重新加载当前的页面,参数为true表示:强制从服务器重新加载页面 2 replace用新的url替换,可以避免后退 history对象使window对象下面的属性,window对象是整个浏览器,作用:保存用户的上网记录 history.leng ...
分类:
其他好文 时间:
2020-03-17 19:29:04
阅读次数:
73
在生产系统中随着业务的运行,临时表可能因为各种原因没有及时被清理掉,怎么办呢?先查询下临时表占磁盘的大小,根据情况进行删除,但是最好不要在生产系统大家都在使用的时候删除临时表查询占用大小:selectcast(sum(a.total_pages)*8/1024asvarchar)+‘MB‘totalfromsys.partitionspjoinsys.allocation_unit
分类:
其他好文 时间:
2020-03-16 23:14:34
阅读次数:
54
1 window.open('https://www.baidu.com/','top'); 2 #在当前页面打开baidu地址 和 <a href='https://www.baidu.com/'></a> 效果相同 3 4 5 window.location.href = 'https://ww ...
分类:
Web程序 时间:
2020-03-16 20:25:09
阅读次数:
77
1、代理模块 ngx_http_proxy_module 2、代理配置 代理Syntax: proxy_pass URL; #代理的后端服务器URLDefault: —Context: location, if in location, limit_except 头信息Syntax: proxy_s ...
分类:
其他好文 时间:
2020-03-16 17:45:21
阅读次数:
60
nginx会话保持主要有以下几种实现方式。 1、ip_hash ip_hash使用源地址哈希算法,将同一客户端的请求总是发往同一个后端服务器,除非该服务器不可用。 ip_hash语法: upstream backend { ip_hash; server backend1.example.com; ...
分类:
其他好文 时间:
2020-03-16 17:41:14
阅读次数:
66
location / { root C:\skyland\RS\Web\RS-Server\dist; index login.html; } location ~ ^/mediaUrl { proxy_pass http://192.168.19.202:9003; } ...
分类:
其他好文 时间:
2020-03-16 14:29:43
阅读次数:
46
场景一 打包vue 命令: npn run build 项目目录下dist文件夹 nginx 部署 找到nginx conf目录下nginx.conf文件 location /{ root 打包后dist文件所在目录 index index.html } 由于项目请求采用前后分离 那么采用代理形式 ...
分类:
其他好文 时间:
2020-03-15 22:07:14
阅读次数:
182
原文章:https://wangdoc.com/javascript/index.html `` 元素 Node Element HTMLElement HTMLAnchorElement HTMLHyperlinkElementUtils`接口。 属性 URL 相关属性 Location`对象的实 ...
分类:
编程语言 时间:
2020-03-15 20:48:19
阅读次数:
111
报错信息: java.lang.IllegalStateException: Failed to load property source from location ‘classpath:/application.yml 解决方法: File -> Settings -> File Encodin ...
分类:
其他好文 时间:
2020-03-15 13:37:18
阅读次数:
100