{"id":43268,"date":"2020-02-28T22:47:58","date_gmt":"2020-02-28T14:47:58","guid":{"rendered":"http:\/\/4563.org\/?p=43268"},"modified":"2020-02-28T22:47:58","modified_gmt":"2020-02-28T14:47:58","slug":"nginx%e7%9a%84%e5%b0%8f%e9%97%ae%e9%a2%98%ef%bc%8c%e6%b1%82%e5%a4%a7%e4%bd%ac%e5%b8%ae%e5%bf%99","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=43268","title":{"rendered":"nginx\u7684\u5c0f\u95ee\u9898\uff0c\u6c42\u5927\u4f6c\u5e2e\u5fd9"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>webfury<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>nginx\u7684\u5c0f\u95ee\u9898\uff0c\u6c42\u5927\u4f6c\u5e2e\u5fd9<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 webfury \u4e8e 2020-2-28 22:45 \u7f16\u8f91 <\/p>\n<p> \u5c0f\u9e21\u7684nginx\u5b89\u88c5\u5728etc\/nginx\u76ee\u5f55\u91cc\u9762<br \/>  \u542f\u52a8\u547d\u4ee4\u4f7f\u7528\u7684\u662f\uff1a\/etc\/nginx\/sbin\/nginx -s <br \/>  \u73b0\u5728\u56e0\u4e3a\u8981\u7528acme.sh\uff0c\u4e00\u76f4\u4e0d\u6210\u529f\uff0c\u5206\u6790\u53ef\u80fd\u662f\u5c0f\u9e21\u6ca1\u6709\u6ce8\u518cnginx\u7684service\uff0c\u4e5f\u5c31\u662fservice nginx\u4e0d\u80fd\u8fd0\u884c<\/p>\n<p>  \u8bf7\u95ee\u5404\u4f4d\u5927\u4f6c\uff0c\u600e\u4e48\u6837\u8ba9\u5c0f\u9e21\u652f\u6301service nginx \u7684\u547d\u4ee4\uff1f\uff1f<\/p>\n<p>  \u73b0\u5728\u8fd0\u884c\u7684\u7ed3\u679c\u662f\uff1a<br \/>  service nginx<br \/>  \/bin\/sh: 0: Can&#8217;t open # # nginx &#8211; this script starts and stops the nginx daemon # # chkconfig: &#8211; 85 15 # description: NGINX is an HTTP(S) s<\/p>\n<p>  \u8c22\u8c22\u554a\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5f20\u5c0f\u9f99<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4f60\u7684\u662fcentos\u8fd8\u662fdebian&nbsp; &nbsp;?\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>webfury<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 webfury \u4e8e 2020-2-28 22:47 \u7f16\u8f91 <\/p>\n<p> \u5f20\u5c0f\u9f99 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-2-28 22:42<br \/>  \u4f60\u7684\u662fcentos\u8fd8\u662fdebian&nbsp; &nbsp;?<\/p>\n<p>  \u611f\u8c22\u8001\u5927\uff0c\u60a8\u771f\u662f\u5fae\u4fe1\u7238\u7238\u5417:loveliness: <br \/>  debian\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>yiluosha3<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tchkconfig: &#8211; 85 15 <br \/>  \u5e94\u8be5\u662f\u914d\u7f6e\u6709\u95ee\u9898\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u65e0\u65f6\u5d29\u6e83<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tvi \/lib\/systemd\/system\/nginx.service<br \/>  \u627e\u5230ExecStart= \u6539\u4e3a\u4f60\u5b89\u88c5\u5230\u7684\u76ee\u5f55\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>webfury \u5927\u4f6c\u6709\u8bdd\u8bf4 : n&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/43268"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=43268"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/43268\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=43268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=43268"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=43268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}