{"id":394,"date":"2025-01-09T16:29:00","date_gmt":"2025-01-09T08:29:00","guid":{"rendered":"https:\/\/trantor.ink\/?p=394"},"modified":"2025-01-09T16:29:01","modified_gmt":"2025-01-09T08:29:01","slug":"nginx-%e5%a6%82%e4%bd%95%e9%85%8d%e7%bd%ae%e4%ba%8c%e7%ba%a7%e5%9f%9f%e5%90%8d%e6%8c%87%e5%90%91%e6%9c%ac%e5%9c%b0%e6%8c%87%e5%ae%9a%e7%ab%af%e5%8f%a3%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/trantor.ink\/?p=394","title":{"rendered":"nginx \u5982\u4f55\u914d\u7f6e\u4e8c\u7ea7\u57df\u540d\u6307\u5411\u672c\u5730\u6307\u5b9a\u7aef\u53e3\uff1f"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/trantor.ink\/?p=394\/#1_%E7%A1%AE%E4%BF%9D_DNS_%E8%AE%BE%E7%BD%AE%E6%AD%A3%E7%A1%AE\" >1. \u786e\u4fdd DNS \u8bbe\u7f6e\u6b63\u786e<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/trantor.ink\/?p=394\/#2_%E5%88%9B%E5%BB%BA_Nginx_%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6\" >2. \u521b\u5efa Nginx \u914d\u7f6e\u6587\u4ef6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/trantor.ink\/?p=394\/#3_%E9%85%8D%E7%BD%AE%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%9D%97\" >3. \u914d\u7f6e\u670d\u52a1\u5668\u5757<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/trantor.ink\/?p=394\/#4_%E5%90%AF%E7%94%A8%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6\" >4. \u542f\u7528\u914d\u7f6e\u6587\u4ef6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/trantor.ink\/?p=394\/#5_%E6%B5%8B%E8%AF%95_Nginx_%E9%85%8D%E7%BD%AE\" >5. \u6d4b\u8bd5 Nginx \u914d\u7f6e<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/trantor.ink\/?p=394\/#6_%E9%87%8D%E6%96%B0%E5%8A%A0%E8%BD%BD_Nginx\" >6. \u91cd\u65b0\u52a0\u8f7d Nginx<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/trantor.ink\/?p=394\/#7_%E9%85%8D%E7%BD%AE_SSL%EF%BC%88%E5%8F%AF%E9%80%89%EF%BC%89\" >7. \u914d\u7f6e SSL\uff08\u53ef\u9009\uff09<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/trantor.ink\/?p=394\/#8_%E6%B5%8B%E8%AF%95%E4%BA%8C%E7%BA%A7%E5%9F%9F%E5%90%8D%E8%AE%BF%E9%97%AE\" >8. \u6d4b\u8bd5\u4e8c\u7ea7\u57df\u540d\u8bbf\u95ee<\/a><\/li><\/ul><\/nav><\/div>\n\n<p class=\"wp-block-paragraph\">\u8981\u5c06\u4e8c\u7ea7\u57df\u540d\u914d\u7f6e\u4e3a\u6307\u5411\u672c\u5730\u6307\u5b9a\u7aef\u53e3\uff0c\u4f60\u9700\u8981\u5728 Nginx \u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u4e3a\u8be5\u4e8c\u7ea7\u57df\u540d\u8bbe\u7f6e\u4e00\u4e2a\u72ec\u7acb\u7684\u670d\u52a1\u5668\u5757\uff0c\u5e76\u5c06\u8bf7\u6c42\u4ee3\u7406\u5230\u672c\u5730\u7684\u6307\u5b9a\u7aef\u53e3\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u7684\u6b65\u9aa4\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_%E7%A1%AE%E4%BF%9D_DNS_%E8%AE%BE%E7%BD%AE%E6%AD%A3%E7%A1%AE\"><\/span>1. \u786e\u4fdd DNS \u8bbe\u7f6e\u6b63\u786e<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u7684\u4e8c\u7ea7\u57df\u540d\uff08\u5982 <code>subdomain.example.com<\/code>\uff09\u5df2\u7ecf\u5728 DNS \u8bbe\u7f6e\u4e2d\u6307\u5411\u4f60\u7684\u670d\u52a1\u5668 IP \u5730\u5740\u3002\u4f60\u53ef\u4ee5\u5728\u4f60\u7684\u57df\u540d\u7ba1\u7406\u5e73\u53f0\u4e2d\u6dfb\u52a0\u4e00\u6761 <code>A<\/code> \u8bb0\u5f55\u6765\u5b9e\u73b0\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_%E5%88%9B%E5%BB%BA_Nginx_%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6\"><\/span>2. \u521b\u5efa Nginx \u914d\u7f6e\u6587\u4ef6<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3a\u4f60\u7684\u4e8c\u7ea7\u57df\u540d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684 Nginx \u914d\u7f6e\u6587\u4ef6\u3002\u5728 <code>\/etc\/nginx\/sites-available\/<\/code> \u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\uff0c\u4f8b\u5982 <code>subdomain.example.com<\/code>\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo nano \/etc\/nginx\/sites-available\/subdomain.example.com<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_%E9%85%8D%E7%BD%AE%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%9D%97\"><\/span>3. \u914d\u7f6e\u670d\u52a1\u5668\u5757<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u8be5\u6587\u4ef6\u4e2d\u914d\u7f6e\u670d\u52a1\u5668\u5757\uff0c\u4f7f\u5176\u5c06\u8bf7\u6c42\u8f6c\u53d1\u5230\u672c\u5730\u7684\u6307\u5b9a\u7aef\u53e3\uff08\u4f8b\u5982 <code>localhost:3000<\/code>\uff09\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">server {\n    listen 80;\n    server_name subdomain.example.com;\n\n    location \/ {\n        proxy_pass http:\/\/localhost:3000;\n        proxy_set_header Host $host;\n        proxy_set_header X-Real-IP $remote_addr;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n        proxy_set_header X-Forwarded-Proto $scheme;\n    }\n}<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>listen 80;<\/code><\/strong>\uff1a\u76d1\u542c 80 \u7aef\u53e3\uff0c\u5904\u7406 HTTP \u8bf7\u6c42\u3002<\/li>\n\n\n\n<li><strong><code>server_name subdomain.example.com;<\/code><\/strong>\uff1a\u6307\u5b9a\u8be5\u670d\u52a1\u5668\u5757\u5e94\u7528\u4e8e <code>subdomain.example.com<\/code>\u3002<\/li>\n\n\n\n<li><strong><code>proxy_pass http:\/\/localhost:3000;<\/code><\/strong>\uff1a\u5c06\u6240\u6709\u8bf7\u6c42\u8f6c\u53d1\u5230\u672c\u5730\u7684\u7aef\u53e3 <code>3000<\/code>\u3002<\/li>\n\n\n\n<li><strong><code>proxy_set_header<\/code><\/strong>\uff1a\u8bbe\u7f6e\u4e00\u4e9b\u4ee3\u7406\u8bf7\u6c42\u5934\uff0c\u786e\u4fdd\u6b63\u786e\u4f20\u9012\u5ba2\u6237\u7aef\u4fe1\u606f\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_%E5%90%AF%E7%94%A8%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6\"><\/span>4. \u542f\u7528\u914d\u7f6e\u6587\u4ef6<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3a\u65b0\u521b\u5efa\u7684\u914d\u7f6e\u6587\u4ef6\u521b\u5efa\u7b26\u53f7\u94fe\u63a5\u5230 <code>sites-enabled<\/code> \u76ee\u5f55\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo ln -s \/etc\/nginx\/sites-available\/subdomain.example.com \/etc\/nginx\/sites-enabled\/<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_%E6%B5%8B%E8%AF%95_Nginx_%E9%85%8D%E7%BD%AE\"><\/span>5. \u6d4b\u8bd5 Nginx \u914d\u7f6e<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u91cd\u65b0\u52a0\u8f7d Nginx \u4e4b\u524d\uff0c\u5148\u6d4b\u8bd5\u914d\u7f6e\u6587\u4ef6\u662f\u5426\u6b63\u786e\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo nginx -t<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u914d\u7f6e\u6b63\u786e\uff0c\u4f60\u5c06\u770b\u5230 <code>syntax is ok<\/code> \u548c <code>test is successful<\/code> \u7684\u63d0\u793a\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"6_%E9%87%8D%E6%96%B0%E5%8A%A0%E8%BD%BD_Nginx\"><\/span>6. \u91cd\u65b0\u52a0\u8f7d Nginx<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u540e\uff0c\u91cd\u65b0\u52a0\u8f7d Nginx \u4ee5\u5e94\u7528\u65b0\u7684\u914d\u7f6e\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo systemctl reload nginx<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"7_%E9%85%8D%E7%BD%AE_SSL%EF%BC%88%E5%8F%AF%E9%80%89%EF%BC%89\"><\/span>7. \u914d\u7f6e SSL\uff08\u53ef\u9009\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u9700\u8981\u4e3a\u4e8c\u7ea7\u57df\u540d\u542f\u7528 HTTPS\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>certbot<\/code> \u83b7\u53d6 SSL \u8bc1\u4e66\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo certbot --nginx -d subdomain.example.com<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"8_%E6%B5%8B%E8%AF%95%E4%BA%8C%E7%BA%A7%E5%9F%9F%E5%90%8D%E8%AE%BF%E9%97%AE\"><\/span>8. \u6d4b\u8bd5\u4e8c\u7ea7\u57df\u540d\u8bbf\u95ee<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u73b0\u5728\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95ee <code>http:\/\/subdomain.example.com<\/code> \u6765\u67e5\u770b\u914d\u7f6e\u662f\u5426\u751f\u6548\u3002\u8bf7\u6c42\u5e94\u8be5\u4f1a\u88ab\u8f6c\u53d1\u5230\u672c\u5730\u7684 <code>3000<\/code> \u7aef\u53e3\uff0c\u5904\u7406\u6765\u81ea\u8be5\u7aef\u53e3\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u6837\u5c31\u5b8c\u6210\u4e86\u5c06\u4e8c\u7ea7\u57df\u540d\u6307\u5411\u672c\u5730\u6307\u5b9a\u7aef\u53e3\u7684\u914d\u7f6e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8981\u5c06\u4e8c\u7ea7\u57df\u540d\u914d\u7f6e\u4e3a\u6307\u5411\u672c\u5730\u6307\u5b9a\u7aef\u53e3\uff0c\u4f60\u9700\u8981\u5728 Nginx \u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u4e3a\u8be5\u4e8c\u7ea7\u57df\u540d\u8bbe\u7f6e\u4e00\u4e2a\u72ec\u7acb\u7684\u670d\u52a1\u5668\u5757\uff0c\u5e76\u5c06\u8bf7\u6c42\u4ee3\u7406\u5230\u672c\u5730\u7684\u6307\u5b9a\u7aef\u53e3\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u7684\u6b65\u9aa4\uff1a 1. \u786e\u4fdd DNS \u8bbe\u7f6e\u6b63\u786e \u9996\u5148\uff0c\u786e\u4fdd\u4f60\u7684\u4e8c\u7ea7\u57df\u540d\uff08\u5982 subdomain.example.com\uff09\u5df2\u7ecf\u5728 DNS \u8bbe\u7f6e\u4e2d\u6307\u5411\u4f60\u7684\u670d\u52a1\u5668 IP \u5730\u5740\u3002\u4f60\u53ef\u4ee5\u5728\u4f60\u7684\u57df\u540d\u7ba1\u7406\u5e73\u53f0\u4e2d\u6dfb\u52a0\u4e00\u6761 A \u8bb0\u5f55\u6765\u5b9e\u73b0\u3002 2. \u521b\u5efa Nginx \u914d\u7f6e\u6587\u4ef6 \u4e3a\u4f60\u7684\u4e8c\u7ea7\u57df\u540d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684 Nginx \u914d\u7f6e\u6587\u4ef6\u3002\u5728 \/etc\/nginx\/sites-available\/ \u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\uff0c\u4f8b\u5982 subdomain.example.com\uff1a 3. \u914d\u7f6e\u670d\u52a1\u5668\u5757 \u5728\u8be5\u6587\u4ef6\u4e2d\u914d\u7f6e\u670d\u52a1\u5668\u5757\uff0c\u4f7f\u5176\u5c06\u8bf7\u6c42\u8f6c\u53d1\u5230\u672c\u5730\u7684\u6307\u5b9a\u7aef\u53e3\uff08\u4f8b\u5982 localhost:3000\uff09\uff1a 4. \u542f\u7528\u914d\u7f6e\u6587\u4ef6 \u4e3a\u65b0\u521b\u5efa\u7684\u914d\u7f6e\u6587\u4ef6\u521b\u5efa\u7b26\u53f7\u94fe\u63a5\u5230 sites-enabled \u76ee\u5f55\uff1a 5. \u6d4b\u8bd5 Nginx \u914d\u7f6e \u5728\u91cd\u65b0\u52a0\u8f7d Nginx \u4e4b\u524d\uff0c\u5148\u6d4b\u8bd5\u914d\u7f6e\u6587\u4ef6\u662f\u5426\u6b63\u786e\uff1a \u5982\u679c\u914d\u7f6e\u6b63\u786e\uff0c\u4f60\u5c06\u770b\u5230 syntax is ok \u548c test is successful \u7684\u63d0\u793a\u3002 6. \u91cd\u65b0\u52a0\u8f7d Nginx \u6700\u540e\uff0c\u91cd\u65b0\u52a0\u8f7d Nginx \u4ee5\u5e94\u7528\u65b0\u7684\u914d\u7f6e\uff1a 7. \u914d\u7f6e SSL\uff08\u53ef\u9009\uff09 \u5982\u679c\u4f60\u9700\u8981\u4e3a\u4e8c\u7ea7\u57df\u540d\u542f\u7528 HTTPS\uff0c\u53ef\u4ee5\u4f7f\u7528 certbot \u83b7\u53d6 SSL \u8bc1\u4e66\uff1a 8. \u6d4b\u8bd5\u4e8c\u7ea7\u57df\u540d\u8bbf\u95ee \u73b0\u5728\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95ee http:\/\/subdomain.example.com \u6765\u67e5\u770b\u914d\u7f6e\u662f\u5426\u751f\u6548\u3002\u8bf7\u6c42\u5e94\u8be5\u4f1a\u88ab\u8f6c\u53d1\u5230\u672c\u5730\u7684 3000 \u7aef\u53e3\uff0c\u5904\u7406\u6765\u81ea\u8be5\u7aef\u53e3\u7684\u5e94\u7528\u7a0b\u5e8f\u3002 \u8fd9\u6837\u5c31\u5b8c\u6210\u4e86\u5c06\u4e8c\u7ea7\u57df\u540d\u6307\u5411\u672c\u5730\u6307\u5b9a\u7aef\u53e3\u7684\u914d\u7f6e\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[21],"class_list":["post-394","post","type-post","status-publish","format-standard","hentry","category-devops","tag-nginx"],"_links":{"self":[{"href":"https:\/\/trantor.ink\/index.php?rest_route=\/wp\/v2\/posts\/394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trantor.ink\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trantor.ink\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trantor.ink\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/trantor.ink\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=394"}],"version-history":[{"count":1,"href":"https:\/\/trantor.ink\/index.php?rest_route=\/wp\/v2\/posts\/394\/revisions"}],"predecessor-version":[{"id":395,"href":"https:\/\/trantor.ink\/index.php?rest_route=\/wp\/v2\/posts\/394\/revisions\/395"}],"wp:attachment":[{"href":"https:\/\/trantor.ink\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trantor.ink\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trantor.ink\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}