
js判断方法是否存在
if(typeof yourfunctionname === 'function'){ //存在且是function } else{ //不存在或不是function }或者typeof yourfun...
if(typeof yourfunctionname === 'function'){ //存在且是function } else{ //不存在或不是function }或者typeof yourfun...
location /wsendpoint{ proxy_pass http://127.0.0.1/wsendpoint; #实际ws服务器地址 proxy_http_version 1.1; ...
使用vim打开配置文件vim /etc/nginx/nginx.confhttp{ #http节点中可以添加多个server节点 server{ #监听443端口 li...
1.安装gcc gcc是用来编译下载下来的nginx源码 yum install gcc-c++2、安装pcre和pcre-devel PCRE(Perl Compatible Regular Express...
在阿里云申请免费ssl证书,申请完成后下载tomcat类型证书在resources目录下新建https目录,将证书pfx放入修改bootstrap.ymlserver: port: 443 undertow:...