实际问题: 服务器192.168.0.103上的SQL Express数据库实例,局域网内其余机器的Sql Server Management Studio都无法连接。 在本机上,可以用“.\SqlExpress” 或者“localhost\SqlExpress”作为server name来登陆,但 ...
分类:
数据库 时间:
2018-05-22 18:35:36
阅读次数:
264
1 server { 2 listen 80; 3 server_name real.zhudai.com; 4 access_log /var/log/nginx/real.zhudai.com-access.log; 5 error_log /var/log/nginx/real.zhudai.... ...
分类:
其他好文 时间:
2018-05-18 14:05:20
阅读次数:
141
更改test.com.conf server { listen 80; server_name test.com test1.com test2.com; index index.html index.htm index.php; root /data/wwwroot/test.com; if ($... ...
分类:
系统相关 时间:
2018-05-16 20:42:14
阅读次数:
191
server { listen 80; #listen [::]:80; server_name tpblog.yeves.com; index index.html index.htm index.php default.html default.htm default.php; root /ww... ...
分类:
其他好文 时间:
2018-05-16 16:37:58
阅读次数:
151
九、根据HTTP响应状态码自定义错误页:1、未配置前访问一个不存在的页面:http://192.168.1.222/abc/def.html,按F12后刷新页面2、在server{}配置段中新增如下location:server {listen 80;server_name localhost; location /bbs {root /vhosts/bbs;error_page 404
分类:
其他好文 时间:
2018-05-14 15:45:52
阅读次数:
188
三、配置虚拟主机:1、配置基于端口的虚拟主机:(1)在http{}配置段中新增如下server:server {listen 8000;server_name localhost;access_log /usr/local/tengine/logs/localhost8000-access.log main;location / {root /vhosts/web;index index.html
分类:
其他好文 时间:
2018-05-14 15:11:13
阅读次数:
431
server { listen 80; listen 443 ssl; server_name www.lovebugs.com lovebugs.com; ssl on; ssl_certificate /etc/nginx/cert/214592172780915.pem; ssl_certif ...
分类:
其他好文 时间:
2018-05-13 11:49:32
阅读次数:
444
1.将cert下新建一个文件将所有证书文件放在新建的文件下 例如:cert/medcard 2.配置网站的.conf文件 RewriteEngine on RewriteCond %{HTTPS} !=on RewriteRule ^(.*) https://%{SERVER_NAME}$1 [L, ...
分类:
Web程序 时间:
2018-05-10 17:31:52
阅读次数:
219
server { listen 80; server_name www.xxx.com; charset utf-8; access_log xxx/host.access.log; location / { root xxx/dist; try_files $uri $uri/ /index.ht... ...
分类:
其他好文 时间:
2018-05-08 22:30:32
阅读次数:
199
原文:http://blog.51cto.com/arm2012/1977090 1. 性能相关配置 2. 时间驱动events相关的配置 3. http核心模块相关配置ngx_http_core_module 3.1web服务模板 3.2套接字相关配置 3.3 server_name 3.4 延迟 ...
分类:
其他好文 时间:
2018-05-01 20:38:56
阅读次数:
220