- 论坛徽章:
- 0
|
浏览器访问上传文件报404错误,请求解决方法
错误日志信息:
2016/05/19 00:01:49 [notice] 44454#0: signal process started
ngx_http_fastdfs_set pid=42621
ngx_http_fastdfs_process_init pid=44455
[2016-05-19 00:01:49] INFO - fastdfs apache / nginx module v1.15, response_mode=proxy, base_path=/tmp, url_have_group_name=1, group_name=group1, storage_server_port=23000, path_count=1, store_path0=/fastdfs/storage, connect_timeout=10, network_timeout=30, tracker_server_count=1, if_alias_prefix=, local_host_ip_count=2, anti_steal_token=0, token_ttl=0s, anti_steal_secret_key length=0, token_check_fail content_type=, token_check_fail buff length=0, load_fdfs_parameters_from_tracker=1, storage_sync_file_max_delay=86400s, use_storage_id=0, storage server id count=0, flv_support=1, flv_extension=flv
ngx_http_fastdfs_process_exit pid=44420
2016/05/19 00:02:02 [error] 44455#0: *32 open() "/usr/local/nginx/html/M00/00/00/wKgAklc9K1CAZ28sAAFvqRMDpAM198.jpg" failed (2: No such file or directory), client: 192.168.0.103, server: localhost, request: "GET /M00/00/00/wKgAklc9K1CAZ28sAAFvqRMDpAM198.jpg HTTP/1.1", host: "192.168.0.146:8888"
nginx.conf 配置
server {
listen 8888;
server_name localhost;
#charset koi8-r;
#access_log logs/host.access.log main;
location ~/group([0-9])/MOO {
alias /fastdfs/storage/data;
ngx_fastdfs_module;
}
|
|