{"id":1214,"date":"2020-12-04T00:48:45","date_gmt":"2020-12-03T15:48:45","guid":{"rendered":"https:\/\/dalomo.net\/blog\/?p=1214"},"modified":"2020-12-04T00:51:51","modified_gmt":"2020-12-03T15:51:51","slug":"%e3%83%81%e3%83%a3%e3%83%83%e3%83%88%e3%82%92%e4%bd%9c%e3%82%8a%e3%81%9f%e3%81%84%e2%91%a1-nginx%e3%81%a8node-js%e3%81%ae%e5%85%b1%e5%ad%98","status":"publish","type":"post","link":"https:\/\/dalomo.net\/blog\/2020\/12\/04\/1214\/","title":{"rendered":"\u30c1\u30e3\u30c3\u30c8\u3092\u4f5c\u308a\u305f\u3044\u2461 nginx\u3068Node.js\u306e\u5171\u5b58"},"content":{"rendered":"<h1>Node.js<\/h1>\n<p>\u307e\u305aNode.js\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u3053\u30fc\u3002<\/p>\n<h2>Node.js\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p><a href=\"https:\/\/github.com\/nodesource\/distributions\/blob\/master\/README.md\">https:\/\/github.com\/nodesource\/distributions\/blob\/master\/README.md<\/a><\/p>\n<p>\u306e<\/p>\n<pre><code class=\"shell\">$ curl -sL https:\/\/rpm.nodesource.com\/setup_14.x | bash -<\/code><\/pre>\n<p>\u3067<\/p>\n<pre><code class=\"shell\">$ sudo yum install -y nodejs<\/code><\/pre>\n<p>\u3055\u308c\u305f\u3002<\/p>\n<pre><code class=\"shell\">$ node -v\r\nv14.15.1<\/code><\/pre>\n<p>\u73fe\u6642\u70b9\u306eLTS\u3001LTS\u3063\u3066\u4f55\uff1fLong Term Support\u306e\u7565\u3067\u9577\u671f\u30b5\u30dd\u30fc\u30c8\u7248\u3063\u3066\u3053\u3068\u3089\u3057\u3044\u3002\u304c\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3002<\/p>\n<pre><code class=\"shell\">$ npm -v\r\n6.14.8<\/code><\/pre>\n<p>npm\u3082\u540c\u6642\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002<\/p>\n<h2>Hello World<\/h2>\n<p><a href=\"https:\/\/nodejs.org\/ja\/about\/\">https:\/\/nodejs.org\/ja\/about\/<\/a><\/p>\n<p>\u306b\u3042\u308b\u30b5\u30f3\u30d7\u30eb\u3092\u305d\u306e\u307e\u307e\u3084\u3063\u3066\u307f\u308b\u3002\u3044\u3064\u3082\u601d\u3046\u3093\u3067\u3059\u3051\u3069\u3001\u3053\u3046\u3044\u3046\u306e\u3063\u3066\u3069\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u7f6e\u304f\u306e\u304c\u4e00\u756a\u3044\u3044\u3093\u3067\u3059\u304b\u306d\u3002\u307e\u3041\u306a\u3093\u3067\u3082\u3044\u3044\u304b\u3068<\/p>\n<pre><code class=\"shell\">$ mkdir \/home\/dalomo\/nodejs<\/code><\/pre>\n<p>\u3057\u305f\u3002\u305d\u3093\u3067\u3053\u3093\u4e2d\u306b<\/p>\n<pre><code class=\"shell\">$ vi helloworld.js<\/code><\/pre>\n<p>\u305d\u3093\u3067<\/p>\n<pre><code class=\"js\">const http = require('http');\r\n\r\nconst hostname = '127.0.0.1';\r\nconst port = 3000;\r\n\r\nconst server = http.createServer((req, res) =&gt; {\r\n  res.statusCode = 200;\r\n  res.setHeader('Content-Type', 'text\/plain');\r\n  res.end('Hello World');\r\n});\r\n\r\nserver.listen(port, hostname, () =&gt; {\r\n  console.log(`Server running at http:\/\/${hostname}:${port}\/`);\r\n});<\/code><\/pre>\n<p>\u307e\u308b\u3071\u304f\u308b\u3002\u3068\u308a\u3042\u3048\u305a\u8d77\u52d5<\/p>\n<pre><code class=\"shell\">$ node helloworld.js<\/code><\/pre>\n<p>\u305d\u3093\u3067!http:\/\/dalomo.net:3000\/\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3082\u3001\u53cd\u5fdc\u306a\u3057\u3002hostname\u3068port\u304c\u3061\u304c\u3046\u3093\u304b\u306a\u30fc\u3068\u3044\u3046\u306e\u3068\u3001\u307e\u305a\u306fnginx\u3068httpd\u3092\u6b62\u3081\u308b\u3002<\/p>\n<pre><code class=\"shell\">$ systemctl stop httpd<\/code> \r\n<code class=\"shell\">$ systemctl stop nginx<\/code><\/pre>\n<ul>\n<li>hostname = &#8216;127.0.0.1&#8217; port = 3000 \u30a2\u30af\u30bb\u30b9\u5148 = http:\/\/dalomo.net:3000\n<ul>\n<li>\u52d5\u304b\u306a\u3044<\/li>\n<\/ul>\n<\/li>\n<li>hostname = &#8216;\u30b5\u30fc\u30d0\u30fc\u306eIP&#8217; port = 3000\u00a0\u30a2\u30af\u30bb\u30b9\u5148 = http:\/\/dalomo.net:3000\n<ul>\n<li>\u52d5\u304b\u306a\u3044<\/li>\n<\/ul>\n<\/li>\n<li>hostname = &#8216;\u30b5\u30fc\u30d0\u30fc\u306eIP&#8217; port = 80 \u30a2\u30af\u30bb\u30b9\u5148 = http:\/\/\u30b5\u30fc\u30d0\u30fc\u306eIP:80\n<ul>\n<li>\u52d5\u304f!<\/li>\n<\/ul>\n<\/li>\n<li>hostname = &#8216;dalomo.net&#8217; port = 80 \u30a2\u30af\u30bb\u30b9\u5148 = http:\/\/dalomo.net:80\n<ul>\n<li>\u52d5\u304b\u306a\u3044<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/12\/node.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1219\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/12\/node-300x88.png\" alt=\"\" width=\"300\" height=\"88\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/12\/node-300x88.png 300w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/12\/node.png 424w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u7d50\u5c40\u52d5\u3044\u305f\u306e\u3053\u308c\u3060\u3051\u3060\u3002\u77e5\u8b58\u304c\u8db3\u308a\u306a\u3059\u304e\u3066\u3001\u3069\u3046\u3044\u3046\u80cc\u666f\u3067\u3053\u3046\u306a\u3063\u3066\u308b\u306e\u304b\u4e88\u60f3\u3082\u3064\u304b\u3093\u3002\u591a\u5206\u3060\u3051\u3069\u30dd\u30fc\u30c8\u304c\u958b\u3044\u3066\u306a\u3044\u3068\u304b\u306a\u306e\u304b\u306a\u2026\u3002\u8a66\u3059\u306e\u3081\u3093\u3069\u304f\u3055\u3044\u306e\u3067\u53d6\u308a\u5408\u3048\u305a\u52d5\u3044\u305f\u3084\u3064\u306b\u5408\u308f\u305b\u3066\u3084\u3063\u3066\u3053\u3046\u3002<\/p>\n<h2>Node.js + forever<\/h2>\n<p>\u73fe\u72b6ctrl+C\u3057\u306a\u3044\u3068\u4f55\u3082\u3067\u304d\u306a\u304f\u306a\u308b\u3057\u3001\u305d\u306e\u72b6\u614b\u3060\u3068nginx\u3068\u5171\u5b58\u3063\u3064\u3063\u3066\u3082\u4f55\u3082\u3067\u304d\u3093\u306e\u3067\u3001forever\u3067\u30c7\u30fc\u30e2\u30f3\u5316\u3057\u3066\u307f\u308b\u3002\u3063\u3066\u601d\u3063\u305f\u3093\u3060\u3051\u3069\u3001\u306a\u3093\u304bCentOS7\u4ee5\u964d\u3060\u3068OS\u306e\u6a5f\u80fd\u3068\u3057\u3066\u30c7\u30fc\u30e2\u30f3\u5316\u30fb\u6c38\u7d9a\u5316\u306e\u6a5f\u80fd\u304c\u3042\u308b\u307f\u305f\u3044\u3002\u305d\u3063\u3061\u306b\u3057\u3088\u3046\uff01<\/p>\n<h2>systemd\u3067Node.js\u30a2\u30d7\u30ea\u3092\u30c7\u30fc\u30e2\u30f3\u5316<\/h2>\n<p>\u30c7\u30fc\u30e2\u30f3\u5316\u30fb\u6c38\u7d9a\u5316\u30fb\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30d7\u30ed\u30bb\u30b9\u30fb\u5e38\u6642\u8d77\u52d5\u3068\u304b\u8272\u3093\u306a\u547c\u3073\u65b9\u3042\u308b\u307f\u305f\u3044\u3060\u3051\u3069\u3001\u4f55\u304c\u6b63\u3057\u3044\u306e\u304b\u5206\u304b\u3089\u306a\u3044\uff01\u8272\u3093\u306a\u30b5\u30a4\u30c8\u3092\u53c2\u8003\u306b\u3084\u3063\u3066\u307f\u3088\u3046\u3002<\/p>\n<p><a href=\"https:\/\/qiita.com\/you21979@github\/items\/588bddb59378ce7303a2\">https:\/\/qiita.com\/you21979@github\/items\/588bddb59378ce7303a2<\/a><\/p>\n<p><a href=\"https:\/\/blog.kazu69.net\/2016\/06\/06\/start-node-server-with-systemd\/\">https:\/\/blog.kazu69.net\/2016\/06\/06\/start-node-server-with-systemd\/<\/a><\/p>\n<p><a href=\"http:\/\/var.blog.jp\/archives\/83319334.html\">http:\/\/var.blog.jp\/archives\/83319334.html<\/a><\/p>\n<p><a href=\"https:\/\/nodesource.com\/blog\/running-your-node-js-app-with-systemd-part-1\">https:\/\/nodesource.com\/blog\/running-your-node-js-app-with-systemd-part-1<\/a><\/p>\n<p><a href=\"https:\/\/qiita.com\/ukiuni@github\/items\/400e4fdaae14b9bc0fcf\">https:\/\/qiita.com\/ukiuni@github\/items\/400e4fdaae14b9bc0fcf<\/a><\/p>\n<p><a href=\"https:\/\/baykara.medium.com\/how-to-daemonize-a-process-or-service-with-systemd-c34501e646c9\">https:\/\/baykara.medium.com\/how-to-daemonize-a-process-or-service-with-systemd-c34501e646c9<\/a><\/p>\n<p><a href=\"https:\/\/www.linode.com\/docs\/guides\/start-service-at-boot\/\">https:\/\/www.linode.com\/docs\/guides\/start-service-at-boot\/<\/a><\/p>\n<p>\/etc\/systemd\/system\u4e0b\u306bhelloworld.service\u3068\u3044\u3046\u540d\u524d\u3067<\/p>\n<pre>[Unit]\r\nDescription=helloworld\r\nAfter=network.target\r\n\r\n[Service]\r\nType=simple\r\nExecStart=\/usr\/bin\/node \/home\/dalomo\/nodejs\/helloworld.js\r\nRestart=always\r\nWorkingDirectory=\/home\/dalomo\/nodejs\r\n\r\n[Install]\r\nWantedBy=multi-user.target<\/pre>\n<p>\u3053\u3093\u306a\u5185\u5bb9\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u305f\u3002\u3082\u3046\u3053\u308c\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u308b\u307f\u305f\u3044\u3002nginx\u3068Apache\u3092\u6b62\u3081\u3066<\/p>\n<pre>$ systemctl daemon-reload<\/pre>\n<p>\u3067\u518d\u8aad\u307f\u8fbc\u307f\u3002\u305d\u3093\u3067<\/p>\n<pre>$ systemctl start helloworld<\/pre>\n<p>\u30b9\u30bf\u30fc\u30c8\uff01\u3069\u304d\u3069\u304d\u3002\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3002<\/p>\n<pre>$ systemctl status helloworld\r\n\u25cf helloworld.service - helloworld\r\nLoaded: loaded (\/etc\/systemd\/system\/helloworld.service; disabled; vendor preset: disabled)\r\nActive: active (running) since Thu 2020-12-03 22:32:45 JST; 1min 1s ago\r\nMain PID: 13582 (node)\r\nCGroup: \/system.slice\/helloworld.service\r\nmq13582 \/usr\/bin\/node \/home\/dalomo\/nodejs\/helloworld.js\r\n\r\nDec 03 22:32:45 1scp2bi4 systemd[1]: Started helloworld.\r\nDec 03 22:32:46 1scp2bi4 node[13582]: Server running at http:\/\/140.227.173....0\/\r\nHint: Some lines were ellipsized, use -l to show in full.<\/pre>\n<p>\u304a\u304a\u2026\uff01\u3067\u304d\u3066\u308b\u3063\u307d\u3044\u6c17\u304c\u3059\u308b\u3002\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u4e0a\u3068\u540c\u3058\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u3066\u308b\u30fc\uff01\u3059\u3054\u3044\uff01\u3081\u3061\u3083\u3081\u3061\u3083\u7c21\u5358\u306a\u3093\u3060\u306d\u3047\u3002\u305d\u3057\u305f\u3089<\/p>\n<pre>$ systemctl stop helloworld<\/pre>\n<p>\u3067\u4e00\u56de\u6b62\u3081\u3066\u3001Node.js\u30a2\u30d7\u30ea\u306e\u30dd\u30fc\u30c8\u30923000\u306b\u5909\u66f4\u3057\u3066\u3001nginx\u304b\u3089\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u304d\u305f\u3044\u3002<\/p>\n<h2>nginx + Node.js<\/h2>\n<p><a href=\"http:\/\/www2.matsue-ct.ac.jp\/home\/kanayama\/text\/nginx\/node16.html\">http:\/\/www2.matsue-ct.ac.jp\/home\/kanayama\/text\/nginx\/node16.html<\/a><\/p>\n<p><a href=\"http:\/\/www2.matsue-ct.ac.jp\/home\/kanayama\/text\/nginx\/node36.html\">http:\/\/www2.matsue-ct.ac.jp\/home\/kanayama\/text\/nginx\/node36.html<\/a><\/p>\n<p><a href=\"https:\/\/heartbeats.jp\/hbblog\/2012\/04\/nginx05.html\">https:\/\/heartbeats.jp\/hbblog\/2012\/04\/nginx05.html<\/a><\/p>\n<p>\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3054\u3068\u306b\u3069\u3053\u306e\u4f55\u3092\u8fd4\u3059\u304b\u3001\u307f\u305f\u3044\u306a\u306e\u3092\u6c7a\u3081\u308c\u308b\u3093\u3068\u601d\u3046\u3002\u73fe\u72b6\u306f<\/p>\n<pre>server {\r\n\u00a0 \u00a0 listen 80;\r\n\u00a0 \u00a0 server_name localhost;\r\n\r\n\u00a0 \u00a0 location \/ {\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_pass http:\/\/127.0.0.1:8080;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_redirect off;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_set_header Host $host;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_set_header X-Real-IP $remote_addr;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_set_header X-Forwarded-Host $host;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_set_header X-Forwarded-Server $host;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_set_header X-Forwarded-Proto $scheme;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n\u00a0 \u00a0 }\r\n}\r\n\r\nserver {\r\n\u00a0 \u00a0 listen 443 ssl;\r\n\u00a0 \u00a0 ssl_certificate \/etc\/letsencrypt\/live\/dalomo.net\/fullchain.pem;\r\n\u00a0 \u00a0 ssl_certificate_key \/etc\/letsencrypt\/live\/dalomo.net\/privkey.pem;\r\n\u00a0 \u00a0 server_name localhost;\r\n\r\n\u00a0 \u00a0 location \/ {\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_pass http:\/\/127.0.0.1:8080;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_redirect off;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_set_header Host $host;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_set_header X-Real-IP $remote_addr;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_set_header X-Forwarded-Host $host;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_set_header X-Forwarded-Server $host;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_set_header X-Forwarded-Proto $scheme;\r\n\u00a0 \u00a0 \u00a0 \u00a0 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n\u00a0 \u00a0 }\r\n}<\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u3063\u3066\u308b\u3002\u306a\u3093\u3068\u306a\u304f\u3001Location\u306e\u30d1\u30b9\u3092\u8ffd\u52a0\u3057\u3066\u3001proxy_pass\u306e\u6240\u3092\u30dd\u30fc\u30c83000\u306b\u98db\u3070\u305b\u3070\u3044\u3044\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u3002\u3067\u3082\u305d\u308c\u4ee5\u4e0b\u306e\u8a18\u8ff0\u306f\u5168\u90e8\u4e00\u7dd2\u3067\u3001\u305d\u308c\u304c\u8907\u6570\u56de\u7e70\u308a\u8fd4\u3055\u308c\u308b\u304b\u3089\u306a\u3093\u304b\u5197\u9577\u306a\u6c17\u304c\u3059\u308b\u3093\u3067\u3059\u3051\u3069\u3069\u3046\u306a\u3093\u3067\u3057\u3087\u3046\u3002\u307e\u3041\u3068\u308a\u3042\u3048\u305a\u611a\u76f4\u306b<\/p>\n<pre>location \/nodejs\/ {\r\n\u00a0 \u00a0 proxy_pass http:\/\/127.0.0.1:3000;\r\n\u00a0 \u00a0 proxy_redirect off;\r\n\u00a0 \u00a0 proxy_set_header Host $host;\r\n\u00a0 \u00a0 proxy_set_header X-Real-IP $remote_addr;\r\n\u00a0 \u00a0 proxy_set_header X-Forwarded-Host $host;\r\n\u00a0 \u00a0 proxy_set_header X-Forwarded-Server $host;\r\n\u00a0 \u00a0 proxy_set_header X-Forwarded-Proto $scheme;\r\n\u00a0 \u00a0 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n}<\/pre>\n<p>\u3092\u300180\u3068443\u3092Listen\u3057\u3066\u308bserver\u306e{\u2026}\u5185\u306b\u8ffd\u8a18\u3057\u3066\u307f\u308b\u3002\u305d\u3093\u3067nginx\u3068helloworld\u306e\u30b5\u30fc\u30d3\u30b9\u8d77\u52d5\u3059\u308b\u3068\u3001502 Bad Gateway\u2026\u3046\u30fc\u3093\uff1f\u306a\u3093\u3068\u306a\u304f\u3001helloworld.js\u306ehostname\u304c\u3088\u304f\u306a\u3055\u305d\u3046\u306a\u6c17\u304c\u3057\u305f\u306e\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u304b\u3089127.0.0.1\u306b\u5909\u3048\u3066\u307f\u305f\u3002\u3082\u3063\u304b\u3044\u8d77\u52d5\u3059\u308b\u3068<\/p>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/12\/node02.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1223\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2020\/12\/node02.png\" alt=\"\" width=\"299\" height=\"105\" \/><\/a><\/p>\n<p>\u3067\u304d\u305f\u30fc\uff01\uff01\uff01\u3059\u3054\u3044\uff01\u52d5\u3044\u3066\u308b\uff01\u3053\u308c\u3067nginx\u3068Node.js\u3068Apache\u304c\u5171\u5b58\u3067\u304d\u305f\uff01\u3044\u3088\u3044\u3088\u30c1\u30e3\u30c3\u30c8\u3092\u4f5c\u3063\u3066\u3044\u3053\u3046\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Node.js \u307e\u305aNode.js\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u3053\u30fc\u3002 Node.js\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb https:\/\/github.com\/nodesource\/distributions\/blob\/master\/README.md &hellip; <a href=\"https:\/\/dalomo.net\/blog\/2020\/12\/04\/1214\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1223,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[8],"tags":[34,33,129,130],"class_list":["post-1214","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-8","tag-apache","tag-linux","tag-nginx","tag-node-js"],"_links":{"self":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/1214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/comments?post=1214"}],"version-history":[{"count":9,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/1214\/revisions"}],"predecessor-version":[{"id":1226,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/1214\/revisions\/1226"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media\/1223"}],"wp:attachment":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media?parent=1214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/categories?post=1214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/tags?post=1214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}