{"id":97,"date":"2022-10-15T05:53:50","date_gmt":"2023-04-08T08:44:24","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/"},"modified":"2025-07-31T13:59:43","modified_gmt":"2025-07-31T04:59:43","slug":"%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/","title":{"rendered":"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5"},"content":{"rendered":"<h3>\u306f\u3058\u3081\u306b<\/h3>\n<p>Nginx\u306e\u30a8\u30e9\u30fc\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b\u3044\u304f\u3064\u304b\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u57fa\u672c\u7684\u306a\u3082\u306e\u3067\u3042\u308a\u3001\u554f\u984c\u306e\u539f\u56e0\u3092\u8a3a\u65ad\u3059\u308b\u305f\u3081\u306b\u306f\u3055\u3089\u306a\u308b\u8abf\u67fb\u304c\u3057\u3070\u3057\u3070\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u9032\u3081\u308b\u4e2d\u3067\u3001\u30a8\u30e9\u30fc\u81ea\u4f53\u304c\u89e3\u6c7a\u7b56\u3078\u306e\u9375\u3068\u306a\u308b\u91cd\u8981\u306a\u60c5\u5831\u3092\u63d0\u4f9b\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u307b\u3068\u3093\u3069\u306eLinux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067Nginx\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u3088\u304f\u4f7f\u7528\u3055\u308c\u308b\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5fa9\u7fd2\u3057\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>sudo cat \/var\/log\/nginx\/error.log: This is used to print a log with a list of errors and details about them.<\/li>\n<li>sudo nginx -t: This is used to check for syntax errors in your configuration file.<\/li>\n<li>systemctl status nginx: This is used to check if your Nginx service is active or inactive.<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u3001\u3055\u307e\u3056\u307e\u306aNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5\u3068\u3001\u305d\u308c\u3089\u306e\u4f7f\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u5b66\u3073\u307e\u3059\u3002<\/p>\n<h2>\u30a8\u30e9\u30fc\u30ed\u30b0\u3092\u4f7f\u3063\u3066\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3059\u308b\u3002<\/h2>\n<p>Nginx\u304b\u3089\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3001\u554f\u984c\u304c\u4f55\u3067\u3042\u308b\u304b\u306f\u5fc5\u305a\u3057\u3082\u660e\u78ba\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u30011\u3064\u306e\u30a8\u30e9\u30fc\u306f\u3088\u308a\u5927\u304d\u306a\u554f\u984c\u3084\u5b8c\u5168\u306b\u5225\u306e\u554f\u984c\u306b\u95a2\u9023\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u5177\u4f53\u7684\u306a\u72b6\u6cc1\u306b\u3088\u3063\u3066\u8a2d\u5b9a\u3082\u7570\u306a\u308a\u307e\u3059\u3002Nginx\u306e\u30a8\u30e9\u30fc\u306e\u5168\u4f53\u50cf\u3092\u628a\u63e1\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u5b9f\u884c\u4e2d\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">cat<\/span> \/var\/log\/nginx\/error.log<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u7279\u6a29\u30e6\u30fc\u30b6\u30fc\u3068\u3057\u3066\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u3067\u306f\u306a\u304fsudo\u3092\u4f7f\u7528\u3067\u304d\u308b\u30e6\u30fc\u30b6\u30fc\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002cat\u30b3\u30de\u30f3\u30c9\u306fconcatenate\u306e\u7565\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u8aad\u307f\u8fbc\u3093\u3067\u7aef\u672b\u306e\u51fa\u529b\u306b\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001cat\u306f\/var\/log\/nginx\/error.log\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u8aad\u307f\u8fbc\u3093\u3067\u8868\u793a\u3057\u307e\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a8\u30e9\u30fc\u306e\u30ea\u30b9\u30c8\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002\u30a8\u30e9\u30fc\u304c\u306a\u3044\u5834\u5408\u306f\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\u306f\u7a7a\u767d\u306e\u307e\u307e\u3067\u3059\u3002\u4ee5\u4e0b\u306f\u30a8\u30e9\u30fc\u30ed\u30b0\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>2022\/11\/28 23:58:22 [emerg] 168641#168641: invalid host in \"[::]443\" of the \"listen\" directive in \/etc\/nginx\/sites-enabled\/test.do-community.com:12\r\n2022\/11\/28 23:59:44 [emerg] 168664#168664: invalid number of arguments in \"root\" directive in \/etc\/nginx\/sites-enabled\/test.do-community.com:4\r\n2022\/11\/29 00:00:19 [emerg] 168701#168701: \"server\" directive is not allowed here in \/etc\/nginx\/sites-enabled\/test.do-community.com:6\r\n<\/code><\/pre>\n<p>\u3053\u306e\u30a8\u30e9\u30fc\u30ed\u30b0\u306e\u51fa\u529b\u306f\u3001\u906d\u9047\u3057\u3066\u3044\u308b\u5177\u4f53\u7684\u306a\u30a8\u30e9\u30fc\u306b\u95a2\u3059\u308b\u91cd\u8981\u306a\u60c5\u5831\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3053\u306e\u30ed\u30b0\u30a2\u30a4\u30c6\u30e0\u306e\u6700\u521d\u306e\u90e8\u5206\u3067\u306f\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u65e5\u6642\u3068\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u7a2e\u985e\u304c\u8a73\u7d30\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001[emerg]\u307e\u305f\u306f\u7dca\u6025\u30bf\u30a4\u30d7\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u3059\u3002\u30ed\u30b0\u30a2\u30a4\u30c6\u30e0\u306e\u6700\u5f8c\u306e\u90e8\u5206\u306b\u306f\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u81ea\u4f53\u3068\u3001\u8a72\u5f53\u3059\u308b\u5834\u5408\u306b\u306f\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u7279\u5b9a\u306e\u884c\u306b\u898b\u3064\u304b\u308b\u304b\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30a8\u30e9\u30fc\u30ed\u30b0\u3092\u53c2\u7167\u3059\u308b\u3053\u3068\u306f\u3001\u53d7\u3051\u53d6\u3063\u305f\u30a8\u30e9\u30fc\u306e\u80cc\u666f\u60c5\u5831\u3092\u5f97\u308b\u305f\u3081\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h2>\u6587\u6cd5\u30a8\u30e9\u30fc\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3044\u307e\u3059\u3002<\/h2>\n<p>Nginx\u306e\u4e2d\u3067\u6700\u3082\u3088\u304f\u3042\u308b\u30a8\u30e9\u30fc\u306e1\u3064\u306f\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u69cb\u6587\u306b\u95a2\u4fc2\u3057\u3066\u3044\u307e\u3059\u3002\u6587\u5b57\u304c\u629c\u3051\u3066\u3044\u305f\u308a\u3001\u69cb\u6587\u306e\u69cb\u9020\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u5834\u5408\u3001\u69cb\u6587\u304c\u6b63\u3057\u304f\u306a\u3044\u305f\u3081\u306b\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u3055\u307e\u3056\u307e\u306a\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3067\u69cb\u6210\u3055\u308c\u3066\u304a\u308a\u3001\u6b63\u3057\u304f\u5ba3\u8a00\u3055\u308c\u306a\u3051\u308c\u3070\u7121\u52b9\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3067\u3059\u3002\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u306a\u3044\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> nginx <span class=\"token parameter variable\">-t<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u7279\u6a29\u30e6\u30fc\u30b6\u30fc\u306b\u3088\u3063\u3066\u5b9f\u884c\u3055\u308c\u308b\u3079\u304d\u3067\u3059\u304c\u3001\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u3067\u306f\u306a\u304fsudo\u3092\u4f7f\u7528\u53ef\u80fd\u306a\u30e6\u30fc\u30b6\u30fc\u3092\u63a8\u5968\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001t\u30d5\u30e9\u30b0\u306f\u5b9f\u969b\u306b\u5b9f\u884c\u3059\u308b\u524d\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30c6\u30b9\u30c8\u3059\u308b\u3053\u3068\u3092\u793a\u3057\u307e\u3059\u3002\u69cb\u6587\u304c\u6b63\u3057\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u51fa\u529b\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>nginx: the configuration file \/etc\/nginx\/nginx.conf syntax is ok\r\nnginx: configuration file \/etc\/nginx\/nginx.conf test is successful\r\n<\/code><\/pre>\n<p>\u3082\u3057\u305d\u3046\u3067\u306a\u3051\u308c\u3070\u3001\u79c1\u305f\u3061\u304c\u30a8\u30e9\u30fc\u30ed\u30b0\u306b\u3064\u3044\u3066\u5171\u6709\u3057\u305f\u4f8b\u3068\u4f3c\u305f\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u3042\u308b\u5834\u5408\u306b\u8fd4\u3055\u308c\u308b\u51fa\u529b\u306e\u4e00\u4f8b\u3092\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>[emerg] invalid host in \"[::]443\" of the \"listen\" directive in \/etc\/nginx\/sites-enabled\/test.do-community.com:12\r\nnginx: configuration file \/etc\/nginx\/nginx.conf test failed\r\n<\/code><\/pre>\n<p>\u300c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u4e0d\u8db3\u3084\u7121\u52b9\u306a\u90e8\u5206\u304c\u306a\u3044\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u5e38\u306b\u3053\u306e\u69cb\u6587\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u69cb\u6210\u306e\u5909\u66f4\u3092\u884c\u3063\u305f\u5f8c\u306f\u5fc5\u305a sudo systemctl reload nginx \u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306b\u3088\u308a\u3001Nginx\u304c\u518d\u8d77\u52d5\u3055\u308c\u3001\u884c\u3063\u305f\u5909\u66f4\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002\u300d<\/p>\n<h2>systemctl status nginx \u3067\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/h2>\n<p>Nginx\u306e\u30a8\u30e9\u30fc\u306b\u3064\u3044\u3066\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3059\u308b\u969b\u306e\u5225\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3001\u3053\u306e\u30b5\u30fc\u30d3\u30b9\u304c\u30b7\u30b9\u30c6\u30e0\u4e0a\u3067\u6709\u52b9\u3067\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u4e0d\u5b8c\u5168\u306a\u5834\u5408\u3084\u3001\u30b5\u30fc\u30d3\u30b9\u304c\u30aa\u30f3\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306esystemd\u30a4\u30cb\u30c3\u30c8\u30b7\u30b9\u30c6\u30e0\u3092\u4f7f\u7528\u3057\u305f\u30b9\u30c6\u30fc\u30bf\u30b9\u30c1\u30a7\u30c3\u30af\u3067\u3001Nginx\u30b5\u30fc\u30d3\u30b9\u304c\u6709\u52b9\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">systemctl status nginx<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3082\u3057\u30b5\u30fc\u30d3\u30b9\u304c\u7a3c\u50cd\u3057\u3066\u3044\u308c\u3070\u3001\u30a2\u30af\u30c6\u30a3\u30d6\u3068\u3057\u3066\u8aad\u307f\u53d6\u3089\u308c\u307e\u3059\uff08\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3067\u7a3c\u50cd\u3057\u3066\u3044\u308b\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code> nginx.service - A high performance web server and a reverse proxy server\r\n     Loaded: loaded (\/lib\/systemd\/system\/nginx.service; enabled; preset: enable&gt;\r\n     Active: <mark>active (running)<\/mark> since Tue 2022-11-29 16:37:49 UTC; 29s ago\r\n       Docs: man:nginx(8)\r\n    Process: 2679 ExecStartPre=\/usr\/sbin\/nginx -t -q -g daemon on; master_proce&gt;\r\n    Process: 2680 ExecStart=\/usr\/sbin\/nginx -g daemon on; master_process on; (c&gt;\r\n   Main PID: 2787 (nginx)\r\n      Tasks: 2 (limit: 1116)\r\n     Memory: 3.3M\r\n        CPU: 32ms\r\n     CGroup: \/system.slice\/nginx.service\r\n             \u251c\u25002787 \"nginx: master process \/usr\/sbin\/nginx -g daemon on; master&gt;\r\n             \u2514\u25002790 \"nginx: worker process\"\r\n<\/code><\/pre>\n<p>\u3082\u3057\u30b5\u30fc\u30d3\u30b9\u304c\u7a3c\u50cd\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u3001\u51fa\u529b\u7d50\u679c\u3067\u306f\u975e\u30a2\u30af\u30c6\u30a3\u30d6\uff08\u505c\u6b62\u4e2d\uff09\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>\u25cb nginx.service - A high performance web server and a reverse proxy server\r\n     Loaded: loaded (\/lib\/systemd\/system\/nginx.service; enabled; preset: enable&gt;\r\n     Active: <mark>inactive (dead)<\/mark> since Tue 2022-11-29 16:42:27 UTC; 1s ago\r\n   Duration: 4min 38.006s\r\n       Docs: man:nginx(8)\r\n    Process: 2679 ExecStartPre=\/usr\/sbin\/nginx -t -q -g daemon on; master_proce&gt;\r\n    Process: 2680 ExecStart=\/usr\/sbin\/nginx -g daemon on; master_process on; (c&gt;\r\n    Process: 2915 ExecStop=\/sbin\/start-stop-daemon --quiet --stop --retry QUIT\/&gt;\r\n   Main PID: 2787 (code=exited, status=0\/SUCCESS)\r\n        CPU: 39ms\r\n<\/code><\/pre>\n<p>\u3082\u3057\u3082\u3053\u308c\u304c\u8d77\u3053\u3063\u305f\u5834\u5408\u3001Nginx\u30b5\u30fc\u30d3\u30b9\u3092\u518d\u8d77\u52d5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u518d\u8d77\u52d5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl restart nginx<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u306e\u5f8c\u3001systemctl status nginx \u3092\u5b9f\u884c\u3057\u3066\u3001\u30b5\u30fc\u30d3\u30b9\u304c\u518d\u5ea6\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u57fa\u672c\u7684\u306a\u7ba1\u7406\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u3055\u3089\u306b\u5b66\u3073\u305f\u3044\u5834\u5408\u306f\u3001\u5f53\u793e\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u8aad\u3093\u3067\u304f\u3060\u3055\u3044\u3002\u305d\u3053\u3067\u306f\u3001Nginx\u30d7\u30ed\u30bb\u30b9\u306e\u7ba1\u7406\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u305d\u306e\u4ed6\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u30d2\u30f3\u30c8<\/h2>\n<p>Nginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u3064\u3044\u3066\u306f\u3001\u308f\u305a\u304b\u306a\u304c\u30893\u3064\u306e\u65b9\u6cd5\u3092\u898b\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3068\u8a2d\u5b9a\u306b\u7279\u5316\u3057\u305f\u3055\u3089\u306b\u3044\u304f\u3064\u304b\u306e\u4f8b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u8a2d\u5b9a\u3092\u8abf\u6574\u3059\u308b<\/h3>\n<p>Nginx\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u969b\u306b\u3001\u30b5\u30fc\u30d0\u30fc\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30dd\u30fc\u30c880\u306eHTTP\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306b\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30dd\u30fc\u30c8\u304c\u958b\u653e\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306f\u6b63\u5e38\u306b\u6a5f\u80fd\u3057\u307e\u305b\u3093\u3002\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u3001\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001Uncomplicated Firewall\uff08ufw\uff09\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30dd\u30fc\u30c8\u304c\u958b\u653e\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> ufw status<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3082\u3046\u4e00\u5ea6\u8a00\u3044\u307e\u3059\u304c\u3001\u7279\u6a29\u3092\u6301\u3064\u30e6\u30fc\u30b6\u30fc\u304c\u5fc5\u8981\u3067\u3059\u3002\u305d\u3057\u3066\u3001\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u3088\u308a\u3082sudo\u3092\u6709\u52b9\u306b\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002\u6b21\u306e\u51fa\u529b\u304c\u8fd4\u3055\u308c\u308b\u5834\u5408\u3001\u9069\u5207\u306a\u30dd\u30fc\u30c880\u304c\u958b\u3044\u3066\u304a\u308a\u3001\u5177\u4f53\u7684\u306b\u306fNginx\u306eHTTP\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u304c\u30ea\u30b9\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>Status: active\r\n\r\nTo                         Action      From\r\n--                         ------      ----\r\nOpenSSH                    ALLOW       Anywhere\r\nNginx HTTP                 ALLOW       Anywhere\r\nOpenSSH (v6)               ALLOW       Anywhere (v6)\r\nNginx HTTP (v6)            ALLOW       Anywhere (v6)\r\n<\/code><\/pre>\n<p>\u3082\u3057HTTPS\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u8a31\u53ef\u3059\u308b\u305f\u3081\u306b443\u756a\u306e\u8ffd\u52a0\u30dd\u30fc\u30c8\u3092\u958b\u304f\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u30eb\u30fc\u30eb\u3092\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> ufw allow <span class=\"token string\">&#8216;Nginx HTTPS&#8217;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u306e\u4ee3\u308f\u308a\u306b\u3001\u5358\u4e00\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u300cNginx\u30d5\u30eb\u300d\u3067\u4e21\u65b9\u306e\u30eb\u30fc\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> ufw allow <span class=\"token string\">&#8216;Nginx Full&#8217;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30dd\u30fc\u30c8\u304c\u958b\u3044\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u518d\u5ea6sudo ufw status\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3082\u3057\u30dd\u30fc\u30c8\u304c\u30ea\u30b9\u30c8\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u6e96\u5099\u304c\u6574\u3063\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u30b5\u30fc\u30d0\u30fc\u304c\u6b63\u5e38\u306b\u8d77\u52d5\u3057\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u78ba\u8a8d<\/h3>\n<p>Nginx\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u304a\u305d\u3089\u304f\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002\u7279\u306b\u3001Nginx\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306b\u95a2\u3059\u308b\u5f53\u793e\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306b\u5f93\u3063\u305f\u5834\u5408\u3067\u3059\u3002\u671b\u3080HTML\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30b5\u30a4\u30c8\u306e\u8a2d\u5b9a\u30d6\u30ed\u30c3\u30af\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u3001\u30c9\u30e1\u30a4\u30f3\u306b\u95a2\u3059\u308b\u69cb\u6210\u306e\u8a73\u7d30\u3092\u542b\u3093\u3060\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<div>\u300c\/etc\/nginx\/sites-available\/your_domain\u300d<\/div>\n<pre class=\"post-pre\"><code>server {\r\n       listen 80;\r\n         listen [::]:80;\r\n\r\n       root \/var\/www\/<mark>your_domain<\/mark>\/html;\r\n        index index.html index.htm index.nginx-debian.html;\r\n\r\n        server_name <mark>your_domain<\/mark> www.<mark>your_domain<\/mark>;\r\n\r\n        location \/ {\r\n                try_files $uri $uri\/ =404;\r\n        }\r\n}\r\n<\/code><\/pre>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u307e\u305f\u306f\u66f4\u65b0\u3092\u884c\u3046\u969b\u306f\u3001\u4f5c\u696d\u304c\u7d42\u4e86\u3057\u305f\u3089\u5fc5\u305a\u4fdd\u5b58\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3082\u3057nano\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001CTRL + X, Y\u3001\u305d\u3057\u3066ENTER\u3092\u62bc\u3059\u3053\u3068\u3067\u4fdd\u5b58\u3067\u304d\u307e\u3059\u3002\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u95a2\u3059\u308b\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306e\u4e3b\u306a\u65b9\u6cd5\u306f\u3001\u524d\u8ff0\u306esudo nginx -t\u306b\u3088\u308b\u69cb\u6587\u30c1\u30a7\u30c3\u30af\u3092\u5b9f\u884c\u3057\u3001\u5909\u66f4\u3092\u6709\u52b9\u5316\u3059\u308b\u305f\u3081\u306bsudo systemctl restart nginx\u3067Nginx\u3092\u518d\u8d77\u52d5\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u3044\u3064\u3067\u3082\u304a\u597d\u304d\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3053\u3068\u3067\u8a55\u4fa1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/nginx\/sites-available\/<mark>your_domain<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3059\u308b\u6307\u793a\u306f\u5b8c\u5168\u3067\u306a\u3051\u308c\u3070\u306a\u3089\u305a\u3001\u6b63\u78ba\u3067\u306a\u3044\u5834\u5408\u306b\u306f\u7121\u52b9\u306a\u3082\u306e\u3068\u3057\u3066\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3092\u899a\u3048\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Nginx\u3067\u3088\u304f\u906d\u9047\u3059\u308b\u4e00\u822c\u7684\u306a\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3001\u30af\u30a4\u30c3\u30af\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30ac\u30a4\u30c9\u3092\u63d0\u4f9b\u3057\u307e\u3057\u305f\u3002\u3054\u8a18\u61b6\u306e\u901a\u308a\u3001\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u306f\u554f\u984c\u306e\u8a3a\u65ad\u306e\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u63d0\u4f9b\u3057\u307e\u3059\u304c\u3001\u30a8\u30e9\u30fc\u3092\u3055\u3089\u306b\u8abf\u67fb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3057\u304b\u3057\u3001\u4e0d\u78ba\u304b\u306a\u5834\u5408\u306f\u3001Nginx\u306e\u30a8\u30e9\u30fc\u30ed\u30b0\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u5404\u30a8\u30e9\u30fc\u306e\u8a73\u7d30\u306a\u30a8\u30f3\u30c8\u30ea\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u5e38\u306b\u3067\u304d\u307e\u3059\u3002\u4e00\u822c\u7684\u306aNginx\u306e\u30a8\u30e9\u30fc\u306e\u3088\u308a\u8a73\u3057\u3044\u8aac\u660e\u306b\u8208\u5473\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u8aad\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Common Nginx Syntax Errors<\/li>\n<li>Common Nginx Connection Errors<\/li>\n<li>Nginx SSL Certificate and HTTPS Redirect Errors<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b Nginx\u306e\u30a8\u30e9\u30fc\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b\u3044\u304f\u3064\u304b\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u57fa\u672c\u7684\u306a\u3082\u306e\u3067\u3042\u308a\u3001\u554f\u984c\u306e\u539f\u56e0\u3092\u8a3a\u65ad\u3059\u308b\u305f\u3081\u306b\u306f\u3055\u3089\u306a\u308b\u8abf\u67fb\u304c\u3057\u3070\u3057\u3070\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5 [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,61],"class_list":["post-97","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-61"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/\u3088\u304f\u3042\u308bnginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/\u3088\u304f\u3042\u308bnginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-08T08:44:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T04:59:43+00:00\" \/>\n<meta name=\"author\" content=\"\u590f\u6a39, \u98a8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u590f\u6a39, \u98a8\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"16\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/\",\"name\":\"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-04-08T08:44:24+00:00\",\"dateModified\":\"2025-07-31T04:59:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d\"},\"description\":\"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d\",\"name\":\"\u590f\u6a39, \u98a8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g\",\"caption\":\"\u590f\u6a39, \u98a8\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/natsukikaze\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5 - Blog - Silicon Cloud","description":"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/\u3088\u304f\u3042\u308bnginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\/","og_locale":"ja_JP","og_type":"article","og_title":"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5","og_description":"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/\u3088\u304f\u3042\u308bnginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-04-08T08:44:24+00:00","article_modified_time":"2025-07-31T04:59:43+00:00","author":"\u590f\u6a39, \u98a8","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u590f\u6a39, \u98a8","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"16\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/","name":"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-04-08T08:44:24+00:00","dateModified":"2025-07-31T04:59:43+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d"},"description":"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3088\u304f\u3042\u308bNginx\u306e\u30a8\u30e9\u30fc\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d","name":"\u590f\u6a39, \u98a8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g","caption":"\u590f\u6a39, \u98a8"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/natsukikaze\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%88%e3%81%8f%e3%81%82%e3%82%8bnginx%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%96%b9\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/97","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=97"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/97\/revisions"}],"predecessor-version":[{"id":36362,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/97\/revisions\/36362"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}