greyfreedom's recent timeline updates
greyfreedom

greyfreedom

V2EX member #94016, joined on 2015-01-27 09:39:32 +08:00
Today's activity rank 5693
greyfreedom's recent replies
恭喜啊老乡,我老家淄川的
这是干嘛呢?
怎么解释前段时间卡密充值最低仅需要 7 块人民币呢?
Apr 30
Replied to a topic by Rickyyyy 问与答 求推荐一个好用机场
@alexwrong xflash 垃圾黑心机场,随便封号
Apr 30
Replied to a topic by xuromky 问与答 推荐一个好用的机场
@alexwrong xflash 就是垃圾黑心机场,随便封号
Apr 30
Replied to a topic by xuromky 问与答 推荐一个好用的机场
@alexwrong 垃圾黑心机场,随便封号
支持大佬
Nov 30, 2015
Replied to a topic by Andor_Chen Java 送几本《Java 技术手册(第 6 版)》
谢谢楼主哟。希望人品爆发,希望楼主快乐
@wql @Starduster 同志们,我解决了。。。。虽然我也不知道什么原因弄好的。。。
我把配置文件贴一下,以便以后侥幸能够帮助有同样问题的人。
谢谢各位。谢谢。
location / {
if (!-f $request_filename){
set $rule_1 1$rule_1;
}
if (!-d $request_filename){
set $rule_1 2$rule_1;
}
if ($rule_1 = "21"){
rewrite /. /blog/index.php last;
}
try_files $uri $uri/ /index.php;

}

error_page 404 /404.html;

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}

location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   941 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 19:59 · PVG 03:59 · LAX 12:59 · JFK 15:59
♥ Do have faith in what you're doing.