V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  2232588429  ›  全部回复第 46 页 / 共 104 页
回复总数  2075
1 ... 42  43  44  45  46  47  48  49  50  51 ... 104  
2016-06-25 13:45:59 +08:00
回复了 2232588429 创建的主题 问与答 WIN10 edge 根目录启动程序路径在哪?
@ahhui 这个目录下启动程序启动无效
2016-06-25 12:46:01 +08:00
回复了 2232588429 创建的主题 互联网 京东京豆负数大家有没有遇到过?
@dong3580 原来如此?
2016-06-25 00:25:15 +08:00
回复了 2232588429 创建的主题 问与答 喷墨打印机自己灌墨水出来的效果和原装能有多大差别?
@z742364692 为啥容易用坏?
2016-06-24 23:59:32 +08:00
回复了 icedx 创建的主题 天黑以后 20160625 午夜俱乐部
打了 5 盘炉石了
2016-06-24 23:26:05 +08:00
回复了 2232588429 创建的主题 互联网 天猫超市运费是不是太贵了?
@Laynooor

@happyz90

平时买点小零食倒是真的够不上 88,所以小额购买的话,20 运费的确比较贵.
2016-06-24 23:25:07 +08:00
回复了 2232588429 创建的主题 问与答 喷墨打印机自己灌墨水出来的效果和原装能有多大差别?
@f845952804

@msg7086

自己家用,频率不高,就是看原装墨盒太贵了想找个最实惠的墨盒方案.连供肯定是用不上, 至于工厂罐好的,是指在某宝买么? 如何看?
@726332269 一直正常?
@irainsoft 三星没啥丢数据不识别问题吧?
2016-06-23 19:24:30 +08:00
回复了 2232588429 创建的主题 信息安全 京东异地登陆都不带提醒的,今天接到诈骗电话才发觉.
@VYSE 钻石有短信通知?在特权列表并未看到.
2016-06-23 19:17:07 +08:00
回复了 2232588429 创建的主题 信息安全 京东异地登陆都不带提醒的,今天接到诈骗电话才发觉.
@airyland 嗯,绑定设备应该比较合理,QQ 貌似就是这样做的?,京东这样什么通知都不做很容易坑大量用户的.
2016-06-23 10:14:59 +08:00
回复了 2232588429 创建的主题 问与答 目前比较全面的微信公众号大数据统计分析站点有哪些?
收藏比回答还多→→
2016-06-22 15:35:28 +08:00
回复了 ghostsf 创建的主题 问与答 我想知道有多少 V 友有两个微信号
有 6 个微信号的路过
@lslqtz 举个栗子罢了,2333
@lslqtz

网站文件根目录路径,话说为啥你这个跟我差别好大.你 nginx 是咋安装的? 我是编译安装的.

我贴下我完整的 nginx.conf 配置文件.

#user nobody;
worker_processes 1;

#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;


events {
worker_connections 1024;
}


http {
include mime.types;
default_type application/octet-stream;

#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';

#access_log logs/access.log main;

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;

#gzip on;

server {
listen 80;
server_name localhost;

#charset koi8-r;

#access_log logs/host.access.log main;

location / {
root /usr/abc.com/;
index index.php index.html index.htm;
if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php){
rewrite (.*) $1/index.php;
}
if (!-f $request_filename){
rewrite (.*) /index.php;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
root /usr/acb.com/;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;

# location / {
# root html;
# index index.html index.htm;
# }
#}


# HTTPS server
#
#server {
# listen 443 ssl;
# server_name localhost;

# ssl_certificate cert.pem;
# ssl_certificate_key cert.key;

# ssl_session_cache shared:SSL:1m;
# ssl_session_timeout 5m;

# ssl_ciphers HIGH:!aNULL:!MD5;
# ssl_prefer_server_ciphers on;

# location / {
# root html;
# index index.html index.htm;
# }
#}

}
@lslqtz 我配置的是

location / {
index index.html index.htm index.php;
root /www/wwwroot/chinaz.com;
if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php){
rewrite (.*) $1/index.php;
}
if (!-f $request_filename){
rewrite (.*) /index.php;
}

}

好像没问题吧,看官方文档也是这么配置的,但是打开就是不行~
@dixyes 就是看不到, rootdeng'lu 不会等级不够啊,好蛋疼!
@fleer

@yeyeye

内心一万头草泥马呼啸而过
@dixyes 日志就没有最近的记录 T T
@MrGba2z 每次都重启的啦
@seki 改后成 404 了~
1 ... 42  43  44  45  46  47  48  49  50  51 ... 104  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2571 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 35ms · UTC 09:49 · PVG 17:49 · LAX 02:49 · JFK 05:49
Developed with CodeLauncher
♥ Do have faith in what you're doing.