二级域名带ssl证书代理 在nginx配置文件,增加代理配置服务 server { listen 443 ssl; #SSL协议访问端口号为443。此处如未添加ssl,可能会造成Nginx无法启动。 server_name api.dshvv.com; #二级域名。 root html; index ...
分类:
其他好文 时间:
2020-07-06 00:59:21
阅读次数:
85
upload 题目描述 无 解题过程 信息收集 Apache/2.4.7 ubuntu 4.26 php 5.5.9 扫描发现两个目录可访问 /classes /classes/password.php /classes/user.php /includes /includes/commonClas ...
分类:
其他好文 时间:
2020-07-05 17:03:35
阅读次数:
78
背景 Linux 虚拟机,用桥接模式,敲 ifconfig命令,ens33 没有 ip 即没有红色圈住那部分 解决方案 修改配置文件 vim /etc/sysconfig/network-scripts/ifcfg-ens33 删除DEVICE的值为ens33(如果本来就是ens33就不用动了) 删 ...
分类:
其他好文 时间:
2020-07-04 17:12:46
阅读次数:
185
nginx配置 ytt.conf server { listen 80; server_name ytt.haimait.com; location / { index index.html index.htm; root /home/work/go/src/linkbook.com/yttAdmi ...
分类:
其他好文 时间:
2020-07-04 15:17:24
阅读次数:
89
/* * Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * c ...
分类:
其他好文 时间:
2020-07-04 15:15:10
阅读次数:
69
连接池 连接池主要是用来管理 Connection 对象,减少创建的时候消耗性能,然后还可以重复使用它。当你在使用的时候,如果说访问量激增时,有可能需要等待一定的时间,因为 cpu 会将空闲下来的 Connection 拿来使用,当你使用完了之后,还需要归还到连接池中,让下一个访问者来继续使用 Ja ...
分类:
数据库 时间:
2020-07-03 21:26:32
阅读次数:
80
转自https://moonbingbing.gitbooks.io/openresty-best-practices/ngx/nginx_local_pcre.html location 匹配规则 语法规则 location [=|~|~*|^~] /uri/ { … } 模式含义 locatio ...
分类:
其他好文 时间:
2020-07-03 15:20:53
阅读次数:
81
mydirname=$(dirname $0) java -cp $classes_dir:$lib_dir/*:$config_dir -Doracle.net.wallet_location=${WALLET_HOME} -Doracle.net.tns_admin=${TNS_ADMIN} c ...
分类:
编程语言 时间:
2020-07-03 12:19:44
阅读次数:
67
MySQL Atlas介绍 一、MySQL Atlas介绍 1.1.1 MySQL Atlas介绍 MySQL Atlas介绍 Atlas是由 Qihoo 360, Web平台部基础架构团队开发维护的一个基于MySQL协议的数据中间层项目。 它是在mysql-proxy 0.8.2版本的基础上,对其 ...
分类:
数据库 时间:
2020-07-02 19:54:40
阅读次数:
95
1.什么是AOP? AOP(Aspect Oriented Programming)面向切面编程,通过预编译方式和运行期间动态代理实现程序功能的统一维护。在不改变源代码的情况下给程序动态统一添加功能的一种技术。在AOP中,我们关注横切点,将通用的处理流程提取出来,我们会提供系统通用功能,并在各业务层 ...
分类:
其他好文 时间:
2020-07-02 18:04:09
阅读次数:
43