{"id":171,"date":"2022-05-01T13:01:09","date_gmt":"2022-05-01T05:01:09","guid":{"rendered":"https:\/\/www.onwith.net\/?p=171"},"modified":"2022-05-01T13:01:09","modified_gmt":"2022-05-01T05:01:09","slug":"%e5%ae%9d%e5%a1%94%e9%9d%a2%e6%9d%bfwordpress%e7%bd%91%e7%ab%99502-bad-gateway-nginx","status":"publish","type":"post","link":"https:\/\/www.onwith.net\/index.php\/171.html","title":{"rendered":"\u5b9d\u5854\u9762\u677fWordPress\u7f51\u7ad9502 Bad Gateway Nginx"},"content":{"rendered":"<p>\u7f51\u7ad9\u591a\u6b21\u51fa\u73b0502 Bad Gateway Nginx\uff0c\u91cd\u542fNginx\u4e5f\u65e0\u6548\uff0c\u7f51\u4e0a\u627e\u4e86\u5f88\u591a\u6559\u7a0b\uff0c\u5305\u62ec\u6570\u636e\u5e93\uff0cPHP\u7248\u672c\u95ee\u9898\u7b49\u3002\u63d0\u793a502 Bad Gateway Nginx\u7684\u95ee\u9898\u867d\u7136\u6709\u5f88\u591a\u65b9\u9762\u3002<\/p>\n<p>\u4f46<\/p>\n<p>\u6ca1\u529e\u6cd5\uff0c\u53ea\u6709\u5173\u95edPHP\u91cc\u9762\u7684\u62a5\u9519\u63d0\u793a\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-172\" title=\"1637605218-bao-ta-mian-ban-wordpress-wang-zhan\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1637605218-bao-ta-mian-ban-wordpress-wang-zhan.jpg?resize=604%2C543\" alt=\"1637605218-bao-ta-mian-ban-wordpress-wang-zhan\" width=\"604\" height=\"543\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1637605218-bao-ta-mian-ban-wordpress-wang-zhan.jpg?w=813&amp;ssl=1 813w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1637605218-bao-ta-mian-ban-wordpress-wang-zhan.jpg?resize=300%2C270&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1637605218-bao-ta-mian-ban-wordpress-wang-zhan.jpg?resize=768%2C691&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1637605218-bao-ta-mian-ban-wordpress-wang-zhan.jpg?resize=670%2C602&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7f51\u7ad9\u591a\u6b21\u51fa\u73b0502 Bad Gateway Nginx\uff0c\u91cd\u542fNginx\u4e5f\u65e0\u6548\uff0c\u7f51\u4e0a\u627e\u4e86\u5f88\u591a\u6559\u7a0b\uff0c\u5305\u62ec\u6570\u636e\u5e93\uff0cP &hellip; <a href=\"https:\/\/www.onwith.net\/index.php\/171.html\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">\u5b9d\u5854\u9762\u677fWordPress\u7f51\u7ad9502 Bad Gateway Nginx<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":172,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9],"tags":[14],"class_list":["post-171","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-9","tag-wordpress502-bad-gateway-nginx"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1637605218-bao-ta-mian-ban-wordpress-wang-zhan.jpg?fit=813%2C731&ssl=1","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":149,"url":"https:\/\/www.onwith.net\/index.php\/149.html","url_meta":{"origin":171,"position":0},"title":"\u5982\u4f55\u4fee\u6539WordPress\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u9650\u5236\uff1f","author":"kuper","date":"2022\u5e745\u67081\u65e5","format":false,"excerpt":"\u8f83\u4f4e\u7684WordPress\u4e0a\u4f20\u9650\u5236\u53ef\u963b\u6b62\u60a8\u4e0a\u4f20\u5927\u6587\u4ef6\uff0c\u63d2\u4ef6\u548c\u4e3b\u9898\u3002\u5982\u679c\u60a8\u8981\u5efa\u7acb\u4e00\u4e2a\u62e5\u6709\u5927\u91cf\u591a\u5a92\u4f53\u8d44\u6e90\u7684\u2026","rel":"","context":"\u5728\u201c\u6280\u672f\u201d\u4e2d","block_context":{"text":"\u6280\u672f","link":"https:\/\/www.onwith.net\/index.php\/category\/%e6%8a%80%e6%9c%af"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin-Dashboard.png?fit=1100%2C489&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin-Dashboard.png?fit=1100%2C489&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin-Dashboard.png?fit=1100%2C489&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin-Dashboard.png?fit=1100%2C489&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin-Dashboard.png?fit=1100%2C489&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":394,"url":"https:\/\/www.onwith.net\/index.php\/394.html","url_meta":{"origin":171,"position":1},"title":"\u5982\u4f55\u5c06\u57df\u540d\u63d0\u4ea4\u5230HSTS\u9884\u52a0\u8f7d\u5217\u8868\uff0c\u4ee5\u63d0\u5347\u8bbf\u95ee\u901f\u5ea6","author":"kuper","date":"2022\u5e745\u67086\u65e5","format":false,"excerpt":"\u4ec0\u4e48\u662fHSTS\u9884\u52a0\u8f7d\u5217\u8868 HTTP Strict Transport Security\u00a0\u7ffb\u8bd1\u8fc7\u6765\u662f\uff1a\u2026","rel":"","context":"\u5728\u201c\u6280\u672f\u201d\u4e2d","block_context":{"text":"\u6280\u672f","link":"https:\/\/www.onwith.net\/index.php\/category\/%e6%8a%80%e6%9c%af"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":148,"url":"https:\/\/www.onwith.net\/index.php\/148.html","url_meta":{"origin":171,"position":2},"title":"VPS \u4e91\u670d\u52a1\u5668\u80fd\u591f\u505a\u4ec0\u4e48\uff1f","author":"kuper","date":"2022\u5e745\u67081\u65e5","format":false,"excerpt":"\u5f88\u65e9\u4ee5\u524d\u4e70\u4e00\u53f0VPS\u4e3b\u8981\u7684\u529f\u80fd\u5c31\u662f\u7ffb\u5899\uff0c\u7136\u540e\u5e38\u5e74\u4e5f\u4ec5\u4ec5\u662f\u8dd1\u4e00\u4e2a Shadowsocks\uff0c\u540e\u6765\u6e10\u6e10\u7684\u53d1\u2026","rel":"","context":"\u5728\u201c\u6280\u672f\u201d\u4e2d","block_context":{"text":"\u6280\u672f","link":"https:\/\/www.onwith.net\/index.php\/category\/%e6%8a%80%e6%9c%af"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":395,"url":"https:\/\/www.onwith.net\/index.php\/395.html","url_meta":{"origin":171,"position":3},"title":"\u56fe\u7247\u4f18\u5316\u63d2\u4ef6 WP Smush Pro v3.9.9 \u5df2\u6fc0\u6d3b\u6c49\u5316\u7248","author":"kuper","date":"2022\u5e745\u67086\u65e5","format":false,"excerpt":"WP Smush Pro\u662f\u4e00\u6b3e\u6027\u80fd\u6700\u4f73\uff0c\u6613\u4e8e\u4f7f\u7528\u7684WordPress\u56fe\u50cf\u4f18\u5316\u63d2\u4ef6\u3002\u8be5\u63d2\u4ef6\u7531WPMU \u2026","rel":"","context":"\u5728\u201cwordpress\u201d\u4e2d","block_context":{"text":"wordpress","link":"https:\/\/www.onwith.net\/index.php\/category\/wordpress"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1651834436-2-2-1.jpg?fit=650%2C455&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1651834436-2-2-1.jpg?fit=650%2C455&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1651834436-2-2-1.jpg?fit=650%2C455&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":393,"url":"https:\/\/www.onwith.net\/index.php\/393.html","url_meta":{"origin":171,"position":4},"title":"\u4e0b\u8f7dReally Simple SSL Pro v5.4.0 \u2013 \u5feb\u901f\u914d\u7f6e\u5168\u7ad9HTTPS","author":"kuper","date":"2022\u5e745\u67086\u65e5","format":false,"excerpt":"HTTPS\u5df2\u7ecf\u6210\u4e3a\u7f51\u7ad9\u7684\u6807\u914d\uff0c\u5bf9\u4e8e\u65b0\u5efa\u7684\u7ad9\u70b9\u6765\u8bf4\uff0c\u5f00\u542fHTTPS\u5e76\u4e0d\u590d\u6742\uff0c\u4f46\u5f88\u591a\u65e7\u7ad9\u70b9\u8981\u5168\u7ad9\u542f\u7528HT\u2026","rel":"","context":"\u5728\u201cwordpress\u201d\u4e2d","block_context":{"text":"wordpress","link":"https:\/\/www.onwith.net\/index.php\/category\/wordpress"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":317,"url":"https:\/\/www.onwith.net\/index.php\/317.html","url_meta":{"origin":171,"position":5},"title":"\u4e0b\u8f7dWordPress\u4f18\u5316\u63d2\u4ef6\uff1aPerfmatters v1.9.0","author":"kuper","date":"2022\u5e745\u67083\u65e5","format":false,"excerpt":"Perfmatters\u662f\u4e00\u4e2a\u975e\u5e38\u8f7b\u91cf\u7ea7\u7684WordPress\u6027\u80fd\u4f18\u5316\u63d2\u4ef6\uff0c\u4e3b\u8981\u76ee\u7684\u662f\u51cf\u5c11\u9875\u9762\u5927\u5c0f\u548cHT\u2026","rel":"","context":"\u5728\u201cwordpress\u201d\u4e2d","block_context":{"text":"wordpress","link":"https:\/\/www.onwith.net\/index.php\/category\/wordpress"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":0,"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/media\/172"}],"wp:attachment":[{"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}