摘要: nginx.pi无法运行 ssued a nginx -s stop and after that I got this error when trying to reload it. [error]: invalid PID number "" in "/var/run/nginx.pid" Th 阅读全文
posted @ 2016-04-05 15:04 秋风落叶. 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 应用配置文件 server { listen 80; server_name local.core.api; root /Users/li/Documents/www/CoreAPI/; location / { index index.php; autoindex on; if (!-f $req 阅读全文
posted @ 2016-04-05 14:52 秋风落叶. 阅读(760) 评论(0) 推荐(0) 编辑
摘要: 下列是nginx.conf全局配置文件 worker_processes 1; error_log /tmp/logs/nginx-error.log; events { worker_connections 1024; } http { include mime.types; default_ty 阅读全文
posted @ 2016-04-05 14:51 秋风落叶. 阅读(126) 评论(0) 推荐(0) 编辑