server{ listen 80; server_name app.yaoyao.org; index index.shtml index.html index.htm index.php; root /data/wwwroot/app.ya...
分类:
其他好文 时间:
2015-10-23 13:36:10
阅读次数:
225
server { server_name domain.com www.domain.com *.domain.com ; set $subdomain ''; if ...
分类:
其他好文 时间:
2015-10-17 11:59:12
阅读次数:
150
conf添加一条serverserver { listen 80 default_server; server_name _; #ip访问重定向 #rewrite ^ http://www.gsmall168.mobi$request_uri?...
分类:
系统相关 时间:
2015-10-16 18:26:20
阅读次数:
242
server { listen 80; server_name 127.0.0.1;#charset koi8-r;#access_log logs/host.access.log main;location /{ proxy_pass http://paila; proxy_redirect of...
分类:
其他好文 时间:
2015-10-12 10:35:51
阅读次数:
158
server { listen 80; charset utf-8; autoindex on; server_name_in_redirect off; server_name www.example.com; root D:/phpStudy/W...
分类:
其他好文 时间:
2015-10-10 17:16:30
阅读次数:
168
server { listen 80; server_name sub.domain.com; set $root_path '/var/www/html/application_name/public'; root $root_path; ...
分类:
其他好文 时间:
2015-09-29 11:26:37
阅读次数:
115
#!/bin/bash
cd `dirname $0`
BIN_DIR=`pwd`
cd ..
DEPLOY_DIR=`pwd`
CONF_DIR=$DEPLOY_DIR/conf
SERVER_NAME=`sed ‘/dubbo.application.name/!d;s/.*=//‘ conf/dubbo.properties | tr -d ‘\r‘`
SERVER_PROTOCOL...
分类:
系统相关 时间:
2015-09-22 16:47:57
阅读次数:
321
1.备份nginx简介cp /opt/nginx/html/nginx.conf /opt/nginx/html/nginx.conf.bak2.编者nginx简介server { listen 80; #server_name www.tes.com; root /dictin...
分类:
其他好文 时间:
2015-09-16 17:51:36
阅读次数:
119
和apache一样,nginx配置类似。在server_name下插入以下代码:vim/usr/local/nginx/conf/vhosts/wyp.confserver_namewww.llzdwyp.comwww.wyp.comwww.llzd.com;#apache也支持这种写法if($host!=‘www.llzdwyp.com‘)#如果域名不等于www.llzdwyp.com{ rewrite^/(.*)$http://www.llz..
分类:
其他好文 时间:
2015-09-12 00:57:35
阅读次数:
249
SELECT availability_mode_desc , role_desc , replica_server_name , last_redone_time , GETDATE() now , DATEDIFF(ms, ...
分类:
数据库 时间:
2015-09-06 18:10:21
阅读次数:
1506