Nginx 在一个IP上配置多个https server时,默认只会发送默认server name的证书.这是由ssl 协议本身行为导致的:先建立ssl connection,后发送http请求.即nginx 建立ssl connection时是不知道请求的主机名字,因此返回默认server name的证书. 解决方案: 1. 一个https server 一个IP. 2. 启用sni, 此需要浏览器,本机openssl,nginx 同时支持. 编译参数:--enable-tlsext $ ng…
VirtualHost Examples - Apache HTTP Server Version 2.2 http://httpd.apache.org/docs/2.2/vhosts/examples.html…
Title:Web Server PROPFIND Method internal IP Discosure  --2012-11-09 09:47 Nessus扫描出来一个安全缺陷,Web Server PROPFIND Method internal IP Discosure,CVE-2002-0422 用HTTP的PROPFIND方法,HOST为空,提交,会暴露真实WEB服务器内网的IP地址. http://web.nvd.nist.gov/view/vuln/detail?vulnId=…
原文: http://www.configserverfirewall.com/ubuntu-linux/ubuntu-set-static-ip-address/ ------------------------------------------------------------------------------------------------- How to set static IP Address in Ubuntu Server 16.04 It is really impo…
1. 如何在没有显示器的情况下,查看 Raspberry Pi 3的 IP 信息(Raspberry Pi 3 ,IP Address) 1 IP Address Any device connected to a Local Area Network is assigned an IP address. In order to connect to your Raspberry Pi from another machine using SSH or VNC, you need to know…
HTTP The Definitive Guide Early web pioneers tried using the IP address of the client as a form of identification. This scheme works if each user has a distinct IP address, if the IP address seldom (if ever) changes, and if the web server can determi…
1:错误信息:如下 [root@host ~]# systemctl status mariadb ● mariadb.service - MariaDB database server Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled) Drop-In: /etc/systemd/system/mariadb.service.d └─migrated-from-my…
ubuntu Server 设置主机静态 ip地址 1:先输入 ifconfig 查看当前网络配置 2:然后关闭 eth0 网卡 sudo ifdown eth0 3:配置静态ip sudo vim /etc/network/interfaces 打开文件,修改eth0的配置,设置您的ip,网关,子网掩码 4:此时,如果不配置dns ,ping不通的: sudo vim /etc/resolv.conf 添加nameserver 即可 5:保存退出 6:激活网卡eth0 sudo ifup et…
远程连接mysql数据库时可以使用以下指令 mysql -h 192.168.1.104 -u root -p 如果是初次安装mysql,需要将所有/etc/mysql/内的所有配置文件的bind-address=127.0.0.1全都注释掉 [mysqld] # # * Basic Settings # user = mysql pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock port = b…
SQL Server不能通过外部IP访问,解决方法   版本:SQL server 2008 express with tools   打开配置管理器,开启 TCP,右键属性设置TCP端口:   设置节点:   IP1 外部IP   IP4 127.0.0.1   IPALL   这三个节点的TCP端口,全部设置为1433    …