{"id":222,"date":"2023-07-12T12:42:42","date_gmt":"2023-03-29T07:43:50","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/"},"modified":"2024-03-19T23:14:38","modified_gmt":"2024-03-19T14:14:38","slug":"%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/","title":{"rendered":"\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5207\u3089\u305a\u306b\u3001Nginx\u3092\u73fe\u5730\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<h3>\u4ee5\u4e0b\u306e\u6587\u7ae0\u3092\u65e5\u672c\u8a9e\u3067\u81ea\u7136\u306a\u8868\u73fe\u306b\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u30021\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u307f\u5fc5\u8981\u3067\u3059\uff1a<br \/>\n\u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3<\/h3>\n<p>Nginx\u306f\u4e16\u754c\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u591a\u304f\u306e\u30b5\u30a4\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u3001\u5f37\u529b\u306a\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u517c\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3067\u3059\u3002\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u63a5\u7d9a\u3092\u5931\u3046\u3053\u3068\u306a\u304f\u3001Nginx\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u3092\u5b9f\u6f14\u3057\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u3053\u306e\u30ac\u30a4\u30c9\u3092\u59cb\u3081\u308b\u524d\u306b\u3001\u30b5\u30fc\u30d0\u30fc\u4e0a\u306b\u975e\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3068\u3001sudo\u7279\u6a29\u304c\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u307e\u305f\u3001Nginx\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Ubuntu 22.04\u306e\u6700\u521d\u306e\u30b5\u30fc\u30d0\u30fc\u8a2d\u5b9a\u30ac\u30a4\u30c9\u306b\u5f93\u3063\u3066\u3001\u305d\u306e\u30b5\u30fc\u30d0\u30fc\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306e\u4ed5\u7d44\u307f\u306f\u3069\u306e\u3088\u3046\u306b\u50cd\u304f\u306e\u3067\u3059\u304b\u3002<\/h2>\n<p>Nginx\u306f\u3001\u30b5\u30fc\u30d3\u30b9\u304c\u8d77\u52d5\u3059\u308b\u3068\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002\u30de\u30b9\u30bf\u30fc\u30b5\u30fc\u30d3\u30b9\u306f\u3001\u5b9f\u969b\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u63a5\u7d9a\u3092\u51e6\u7406\u3059\u308b1\u3064\u4ee5\u4e0a\u306e\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u3092\u751f\u6210\u3057\u307e\u3059\u3002Nginx\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u304b\u3089\u7279\u5b9a\u306e\u4f4e\u30ec\u30d9\u30eb\u306e\u30b7\u30b0\u30ca\u30eb\u3092\u53d7\u3051\u53d6\u3063\u305f\u969b\u306b\u7279\u5b9a\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30b7\u30b0\u30ca\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u63a5\u7d9a\u3092\u5931\u308f\u305a\u306bNginx\u3084\u305d\u306e\u8a2d\u5b9a\u3092\u73fe\u5730\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u6a5f\u4f1a\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>Nginx\u306e\u63d0\u4f9b\u3059\u308b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304a\u3088\u3073\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001Nginx\u3092\u8d77\u52d5\u3001\u505c\u6b62\u3001\u518d\u8d77\u52d5\u3059\u308b\u969b\u306b\u3053\u308c\u3089\u306e\u30b7\u30b0\u30ca\u30eb\u3092\u9001\u4fe1\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u30b7\u30b0\u30ca\u30eb\u3092\u624b\u52d5\u3067\u9001\u4fe1\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3092\u76e3\u67fb\u3057\u3001\u554f\u984c\u304c\u3042\u308c\u3070\u8fc5\u901f\u306b\u5143\u306b\u623b\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001Nginx\u3092\u30bd\u30fc\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u308a\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306b\u4f9d\u5b58\u305b\u305a\u306b\u30b5\u30fc\u30d3\u30b9\u3092\u69cb\u6210\u3057\u3066\u3044\u308b\u5834\u5408\u3067\u3082\u3001\u30b9\u30e0\u30fc\u30ba\u306a\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u4fe1\u53f7\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>USR2: This spawns a new set of master\/worker processes without affecting the old set.<\/li>\n<li>WINCH: This tells the Nginx master process to gracefully stop its associated worker instances.<\/li>\n<li>HUP: This tells an Nginx master process to re-read its configuration files and replace worker processes with those adhering to the new configuration. If an old and new master are running, sending this to the old master will spawn workers using their original configuration.<\/li>\n<li>QUIT: This shuts down a master and its workers gracefully.<\/li>\n<li>TERM: This initiates a fast shutdown of the master and its workers.<\/li>\n<li>KILL: This immediately kills a master and its workers without any cleanup.<\/li>\n<\/ul>\n<h2>Nginx\u30d7\u30ed\u30bb\u30b9\u306ePID\u3092\u898b\u3064\u3051\u308b<\/h2>\n<p>\u3055\u307e\u3056\u307e\u306a\u30d7\u30ed\u30bb\u30b9\u306b\u4fe1\u53f7\u3092\u9001\u4fe1\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u30d7\u30ed\u30bb\u30b9\u306ePID\u3092\u77e5\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5\u306f2\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306b\u3001ps\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u3066\u3001\u7d50\u679c\u306e\u4e2d\u304b\u3089Nginx\u3092grep\u3067\u691c\u7d22\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u3068\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u3092\u78ba\u8a8d\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\">ps<\/span> aux <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> 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<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"output\">output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>root <mark>16653<\/mark> 0.0 0.2 119160 2172 ? Ss 21:48 0:00 nginx: master process \/usr\/sbin\/nginx nginx 16654 0.0 0.9 151820 8156 ? S 21:48 0:00 nginx: worker process sammy 16688 0.0 0.1 221928 1164 pts\/0 S+ 21:48 0:00 grep &#8211;color=auto nginx<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u9078\u629e\u3055\u308c\u305f\u30d7\u30ed\u30bb\u30b9\u306ePID\u306f\u30012\u756a\u76ee\u306b\u30cf\u30a4\u30e9\u30a4\u30c8\u3055\u308c\u305f\u5217\u306b\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u6700\u5f8c\u306e\u5217\u306f\u3001\u6700\u521d\u306e\u7d50\u679c\u304cNginx\u306e\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u3067\u3042\u308b\u3053\u3068\u3092\u660e\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30de\u30b9\u30bf\u30fcNginx\u30d7\u30ed\u30bb\u30b9\u306ePID\u3092\u898b\u3064\u3051\u308b\u5225\u306e\u65b9\u6cd5\u306f\u3001\/run\/nginx.pid\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u51fa\u529b\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">cat<\/span> \/run\/nginx.pid<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"output\">output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p><mark>16653<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Nginx\u306e\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u304c2\u3064\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u53e4\u3044\u30d7\u30ed\u30bb\u30b9\u306f\/run\/nginx.pid.oldbin\u306b\u79fb\u52d5\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u65b0\u3057\u3044Nginx\u306e\u30de\u30b9\u30bf\u30fc\/\u30ef\u30fc\u30ab\u30fc\u30bb\u30c3\u30c8\u3092\u751f\u6210\u3059\u308b\u3002<\/h2>\n<p>\u4e0a\u624b\u304f\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u305f\u3081\u306e\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7\u306f\u3001\u5b9f\u969b\u306bNginx\u30d1\u30c3\u30b1\u30fc\u30b8\u3084\u30d0\u30a4\u30ca\u30ea\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u307e\u305f\u306f\u30bd\u30fc\u30b9\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u3069\u3061\u3089\u306e\u65b9\u6cd5\u3067\u3082\u3001Nginx\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u9069\u5207\u306a\u65b9\u6cd5\u3067\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u65b0\u3057\u3044\u30d0\u30a4\u30ca\u30ea\u304c\u914d\u7f6e\u3055\u308c\u305f\u5f8c\u3001\u65b0\u3057\u3044\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3059\u308b\u7b2c\u4e8c\u30bb\u30c3\u30c8\u306e\u30de\u30b9\u30bf\u30fc\/\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3042\u306a\u305f\u306f\u3001\u78ba\u8a8d\u3057\u305f\u81ea\u5206\u81ea\u8eab\u306eNginx\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u306ePID\u3092\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u3092\u5fd8\u308c\u305a\u306b\u3001USR2\u30b7\u30b0\u30ca\u30eb\u3092\u76f4\u63a5\u30af\u30a8\u30ea\u3057\u305fPID\u756a\u53f7\u306b\u9001\u308b\u3053\u3068\u3067\u3053\u308c\u3092\u5b9f\u884c\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> <span class=\"token function\">kill<\/span> <span class=\"token parameter variable\">-s<\/span> USR2 <mark><span class=\"token number\">16653<\/span><\/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>\u307e\u305f\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u3057\u3066\u3001PID\u30d5\u30a1\u30a4\u30eb\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u5024\u3092\u76f4\u63a5\u30b3\u30de\u30f3\u30c9\u306b\u4ee3\u5165\u3057\u3066\u8aad\u307f\u53d6\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> <span class=\"token function\">kill<\/span> <span class=\"token parameter variable\">-s<\/span> USR2 <span class=\"token variable\"><span class=\"token variable\">`<\/span><span class=\"token function\">cat<\/span> \/run\/nginx.pid<span class=\"token variable\">`<\/span><\/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>\u3082\u3057\u5b9f\u884c\u4e2d\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001Nginx\u306e\u30de\u30b9\u30bf\u30fc\u3068\u30ef\u30fc\u30ab\u30fc\u304c\u305d\u308c\u305e\u308c2\u3064\u306e\u30bb\u30c3\u30c8\u5b58\u5728\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">ps<\/span> aux <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> 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<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"output\">output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>root 16653 0.0 0.2 119160 2172 ? Ss 21:48 0:00 nginx: master process \/usr\/sbin\/nginx nginx 16654 0.0 0.9 151820 8156 ? S 21:48 0:00 nginx: worker process root 16699 0.0 1.5 119164 12732 ? S 21:54 0:00 nginx: master process \/usr\/sbin\/nginx nginx 16700 0.0 0.9 151804 8008 ? S 21:54 0:00 nginx: worker process sammy 16726 0.0 0.1 221928 1148 pts\/0 R+ 21:55 0:00 grep &#8211;color=auto nginx<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u307e\u305f\u3001\u5143\u306e\/run\/nginx.pid\u30d5\u30a1\u30a4\u30eb\u304c\/run\/nginx.pid.oldbin\u306b\u79fb\u52d5\u3055\u308c\u3001\u65b0\u3057\u3044\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u306ePID\u304c\/run\/nginx.pid\u306b\u66f8\u304d\u8fbc\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u3082\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\">tail<\/span> <span class=\"token parameter variable\">-n<\/span> +1 \/run\/nginx.pid*<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"output\">output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>==&gt; \/run\/nginx.pid &lt;== 16699 ==&gt; \/run\/nginx.pid.oldbin &lt;== 16653<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u542b\u307e\u308c\u3066\u3044\u308bPID\u3092\u4f7f\u7528\u3057\u3066\u3001\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u306e\u3069\u3061\u3089\u306b\u3082\u30b7\u30b0\u30ca\u30eb\u3092\u9001\u4fe1\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u6642\u70b9\u3067\u306f\u3001\u30de\u30b9\u30bf\u30fc\u3068\u30ef\u30fc\u30ab\u30fc\u306e\u30bb\u30c3\u30c8\u306f\u4e21\u65b9\u3068\u3082\u7a3c\u50cd\u3057\u3066\u304a\u308a\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5bfe\u5fdc\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6700\u521d\u306e\u30bb\u30c3\u30c8\u306f\u5143\u306eNginx\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3068\u8a2d\u5b9a\u3092\u4f7f\u7528\u3057\u3066\u304a\u308a\u30012\u756a\u76ee\u306e\u30bb\u30c3\u30c8\u306f\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u4e21\u65b9\u306e\u30bb\u30c3\u30c8\u306f\u540c\u6642\u306b\u7a3c\u50cd\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u7d71\u4e00\u611f\u3092\u6301\u305f\u305b\u308b\u305f\u3081\u306b\u65b0\u3057\u3044\u30bb\u30c3\u30c8\u3078\u306e\u79fb\u884c\u3092\u958b\u59cb\u3059\u3079\u304d\u3067\u3059\u3002<\/p>\n<h2>\u6700\u521d\u306e\u30de\u30b9\u30bf\u30fc\u306e\u52b4\u50cd\u8005\u3092\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/h2>\n<p>\u65b0\u3057\u3044\u30bb\u30c3\u30c8\u3078\u306e\u79fb\u884c\u3092\u958b\u59cb\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u6700\u521d\u306b\u5143\u306e\u30de\u30b9\u30bf\u30fc\u306e\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u3092\u505c\u6b62\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5143\u306e\u30ef\u30fc\u30ab\u30fc\u306f\u3001\u73fe\u5728\u306e\u3059\u3079\u3066\u306e\u63a5\u7d9a\u306e\u51e6\u7406\u3092\u7d42\u4e86\u3057\u305f\u5f8c\u3001\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n<p>\u5143\u306e\u30bb\u30c3\u30c8\u306e\u4f5c\u696d\u54e1\u306b\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u306bWINCH\u30b7\u30b0\u30ca\u30eb\u3092\u9001\u308b\u3053\u3068\u3067\u505c\u6b62\u3055\u305b\u307e\u3059\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\">kill<\/span> <span class=\"token parameter variable\">-s<\/span> WINCH <span class=\"token variable\"><span class=\"token variable\">`<\/span><span class=\"token function\">cat<\/span> \/run\/nginx.pid.oldbin<span class=\"token variable\">`<\/span><\/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\u308c\u306b\u3088\u308a\u3001\u65b0\u3057\u3044\u30de\u30b9\u30bf\u30fc\u306e\u4f5c\u696d\u54e1\u306f\u65b0\u3057\u3044\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5358\u72ec\u3067\u51e6\u7406\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u53e4\u3044\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u306f\u307e\u3060\u5b9f\u884c\u4e2d\u3067\u3059\u304c\u3001\u4f5c\u696d\u54e1\u306f\u3044\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">ps<\/span> aux <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> 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<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"output\">output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>root 16653 0.0 0.2 119160 2172 ? Ss 21:48 0:00 nginx: master process \/usr\/sbin\/nginx root 16699 0.0 1.5 119164 12732 ? S 21:54 0:00 nginx: master process \/usr\/sbin\/nginx nginx 16700 0.0 0.9 151804 8008 ? S 21:54 0:00 nginx: worker process sammy 16755 0.0 0.1 221928 1196 pts\/0 R+ 21:56 0:00 grep &#8211;color=auto nginx<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u65b0\u5165\u793e\u54e1\u304c\u63a5\u7d9a\u3092\u500b\u5225\u306b\u53d7\u3051\u5165\u308c\u308b\u969b\u306b\u3001\u3053\u308c\u306b\u3088\u308a\u5f7c\u3089\u3092\u76e3\u67fb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u7d50\u679c\u3092\u8a55\u4fa1\u3057\u3001\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u8e0f\u3080\u3002<\/h2>\n<p>\u3053\u306e\u6bb5\u968e\u3067\u30b7\u30b9\u30c6\u30e0\u3092\u30c6\u30b9\u30c8\u3057\u3066\u76e3\u67fb\u3059\u308b\u3053\u3068\u3067\u3001\u554f\u984c\u306e\u5146\u5019\u304c\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u3079\u304d\u3067\u3059\u3002\u65b0\u3057\u3044Nginx\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u30d0\u30b0\u30d5\u30ea\u30fc\u3067\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u51e6\u7406\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3001\u8a2d\u5b9a\u3092\u3053\u306e\u72b6\u614b\u306e\u307e\u307e\u6642\u9593\u3092\u304b\u3051\u3066\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u3042\u306a\u305f\u306e\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u306f\u3001\u554f\u984c\u306b\u906d\u9047\u3059\u308b\u304b\u3069\u3046\u304b\u306b\u5b8c\u5168\u306b\u4f9d\u5b58\u3057\u307e\u3059\u3002<\/p>\n<h3>\u3082\u3057\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u304c\u6210\u529f\u3057\u3066\u3044\u308c\u3070<\/h3>\n<p>\u65b0\u3057\u3044\u30bb\u30c3\u30c8\u306e\u624b\u304c\u4e0d\u5177\u5408\u304c\u306a\u3051\u308c\u3070\u3001\u5b89\u5168\u306b\u53e4\u3044\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u3092\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3092\u884c\u3046\u305f\u3081\u306b\u3001\u53e4\u3044\u30de\u30b9\u30bf\u30fc\u306bQUIT\u30b7\u30b0\u30ca\u30eb\u3092\u9001\u4fe1\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\">kill<\/span> <span class=\"token parameter variable\">-s<\/span> QUIT <span class=\"token variable\"><span class=\"token variable\">`<\/span><span class=\"token function\">cat<\/span> \/run\/nginx.pid.oldbin<span class=\"token variable\">`<\/span><\/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>\u53e4\u3044\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u306f\u512a\u96c5\u306b\u7d42\u4e86\u3057\u3001\u65b0\u3057\u3044Nginx\u306e\u30de\u30b9\u30bf\u30fc\/\u30ef\u30fc\u30ab\u30fc\u306e\u307f\u304c\u6b8b\u308a\u307e\u3059\u3002\u3053\u306e\u6642\u70b9\u3067\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u4e2d\u65ad\u3059\u308b\u3053\u3068\u306a\u304f\u3001Nginx\u306e\u30d0\u30a4\u30ca\u30ea\u3092\u30a4\u30f3\u30d7\u30ec\u30fc\u30b9\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u3053\u3068\u304c\u6210\u529f\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3>\u3082\u3057\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u304c\u3046\u307e\u304f\u884c\u304b\u306a\u304b\u3063\u305f\u5834\u5408<\/h3>\n<p>\u3082\u3057\u65b0\u3057\u3044\u5f93\u696d\u54e1\u306e\u30c1\u30fc\u30e0\u306b\u554f\u984c\u304c\u3042\u308b\u3088\u3046\u3067\u3042\u308c\u3070\u3001\u53e4\u3044\u8a2d\u5b9a\u3068\u30d0\u30a4\u30ca\u30ea\u306b\u623b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u53e4\u3044\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u304c\u7d42\u4e86\u3057\u3066\u3044\u306a\u3044\u9650\u308a\u3001\u3053\u306e\u64cd\u4f5c\u306f\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u884c\u3046\u6700\u3082\u826f\u3044\u65b9\u6cd5\u306f\u3001\u4ee5\u524d\u306e\u30de\u30b9\u30bf\u30fc\u306e\u30ef\u30fc\u30ab\u30fc\u3092HUP\u30b7\u30b0\u30ca\u30eb\u3067\u518d\u8d77\u52d5\u3055\u305b\u308b\u3053\u3068\u3067\u3059\u3002\u901a\u5e38\u3001Nginx\u30de\u30b9\u30bf\u30fc\u306bHUP\u30b7\u30b0\u30ca\u30eb\u3092\u9001\u4fe1\u3059\u308b\u3068\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3057\u3001\u65b0\u3057\u3044\u30ef\u30fc\u30ab\u30fc\u3092\u958b\u59cb\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u5bfe\u8c61\u304c\u53e4\u3044\u30de\u30b9\u30bf\u30fc\u306e\u5834\u5408\u3001\u5143\u306e\u52d5\u4f5c\u3057\u3066\u3044\u305f\u8a2d\u5b9a\u3092\u4f7f\u7528\u3057\u3066\u65b0\u3057\u3044\u30ef\u30fc\u30ab\u30fc\u3092\u751f\u6210\u3057\u307e\u3059\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\">kill<\/span> <span class=\"token parameter variable\">-s<\/span> HUP <span class=\"token variable\"><span class=\"token variable\">`<\/span><span class=\"token function\">cat<\/span> \/run\/nginx.pid.oldbin<span class=\"token variable\">`<\/span><\/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>\u73fe\u5728\u3001\u30de\u30b9\u30bf\u30fc\/\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u306e\u30bb\u30c3\u30c8\u30922\u3064\u6301\u3064\u3088\u3046\u306b\u623b\u3063\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">ps<\/span> aux <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> 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<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"output\">output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>root 16653 0.0 0.2 119160 2172 ? Ss 21:48 0:00 nginx: master process \/usr\/sbin\/nginx nginx 16654 0.0 0.9 151820 8156 ? S 21:48 0:00 nginx: worker process root 16699 0.0 1.5 119164 12732 ? S 21:54 0:00 nginx: master process \/usr\/sbin\/nginx nginx 16700 0.0 0.9 151804 8008 ? S 21:54 0:00 nginx: worker process sammy 16726 0.0 0.1 221928 1148 pts\/0 R+ 21:55 0:00 grep &#8211;color=auto nginx<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6700\u65b0\u306e\u52b4\u50cd\u8005\u306f\u53e4\u3044\u30de\u30b9\u30bf\u30fc\u3068\u95a2\u9023\u4ed8\u3051\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u4e21\u65b9\u306e\u52b4\u50cd\u8005\u30b0\u30eb\u30fc\u30d7\u306f\u3001\u3053\u306e\u6642\u70b9\u3067\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u63a5\u7d9a\u3092\u53d7\u3051\u5165\u308c\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u65b0\u3057\u3044\u30d0\u30b0\u306e\u3042\u308b\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u3068\u305d\u306e\u52b4\u50cd\u8005\u3092\u505c\u6b62\u3059\u308b\u305f\u3081\u306b\u3001QUIT\u30b7\u30b0\u30ca\u30eb\u3092\u9001\u3063\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\">kill<\/span> <span class=\"token parameter variable\">-s<\/span> QUIT <span class=\"token variable\"><span class=\"token variable\">`<\/span><span class=\"token function\">cat<\/span> \/run\/nginx.pid<span class=\"token variable\">`<\/span><\/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>\u3042\u306a\u305f\u306f\u6614\u306e\u30de\u30b9\u30bf\u30fc\u3084\u540c\u50da\u306b\u623b\u308b\u3079\u304d\u3067\u3059\u3002 (Anata wa mukashi no masutaa ya douryou ni modorubeki desu.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">ps<\/span> aux <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> 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<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"output\">output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>root <mark>16653<\/mark> 0.0 0.2 119160 2172 ? Ss 21:48 0:00 nginx: master process \/usr\/sbin\/nginx nginx 16654 0.0 0.9 151820 8156 ? S 21:48 0:00 nginx: worker process sammy 16688 0.0 0.1 221928 1164 pts\/0 S+ 21:48 0:00 grep &#8211;color=auto nginx<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u5143\u306e\u30de\u30b9\u30bf\u30fc\u306f\u3001PID\u306b\u5bfe\u3057\u3066\/run\/nginx.pid\u30d5\u30a1\u30a4\u30eb\u306e\u6240\u6709\u6a29\u3092\u53d6\u308a\u623b\u3059\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u3082\u3057\u3069\u3046\u3057\u3066\u3082\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u5834\u5408\u306b\u306f\u3001\u65b0\u3057\u3044\u30de\u30b9\u30bf\u30fc\u30b5\u30fc\u30d0\u30fc\u306b\u5bfe\u3057\u3066TERM\u30b7\u30b0\u30ca\u30eb\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u3092\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u304c\u958b\u59cb\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u65b0\u3057\u3044\u30de\u30b9\u30bf\u30fc\u30b5\u30fc\u30d0\u30fc\u3068\u305d\u306e\u4ed6\u306e\u30ef\u30fc\u30ab\u30fc\u304c\u505c\u6b62\u3057\u3001\u53e4\u3044\u30de\u30b9\u30bf\u30fc\u306f\u81ea\u52d5\u7684\u306b\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u3092\u958b\u59cb\u3057\u307e\u3059\u3002\u3082\u3057\u6df1\u523b\u306a\u554f\u984c\u304c\u3042\u3063\u3066\u30d0\u30b0\u304c\u3042\u308b\u30ef\u30fc\u30ab\u30fc\u304c\u7d42\u4e86\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306b\u306f\u3001\u305d\u308c\u305e\u308c\u306bKILL\u30b7\u30b0\u30ca\u30eb\u3092\u9001\u4fe1\u3057\u3066\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u3053\u308c\u306f\u6700\u7d42\u624b\u6bb5\u3067\u3042\u308a\u3001\u63a5\u7d9a\u304c\u5207\u65ad\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u53e4\u3044\u30d0\u30a4\u30ca\u30ea\u306b\u623b\u3063\u305f\u5f8c\u3082\u3001\u30b7\u30b9\u30c6\u30e0\u306b\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u5fd8\u308c\u305a\u306b\u899a\u3048\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u554f\u984c\u306a\u304fNginx\u304c\u518d\u8d77\u52d5\u6642\u306b\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3001\u4e0d\u5177\u5408\u306e\u3042\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u524a\u9664\u3057\u3001\u4ee5\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u623b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u65e5\u672c\u8a9e\u3067\u306e\u8a00\u3044\u63db\u3048\u6848\uff1a<br \/>\n\u73fe\u5728\u306e\u6bb5\u968e\u3067\u306f\u3001Nginx\u306e\u30d0\u30a4\u30ca\u30ea\u3092\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u304c\u30b9\u30e0\u30fc\u30ba\u306b\u53ef\u80fd\u306b\u306a\u3063\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002Nginx\u306e\u30de\u30b9\u30bf\u30fc\u30fb\u30ef\u30fc\u30ab\u30fc\u4e8c\u3064\u306e\u7d44\u3092\u540c\u6642\u306b\u6271\u3046\u80fd\u529b\u306b\u3088\u308a\u3001\u30b5\u30fc\u30d0\u30fc\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3092\u30aa\u30d5\u30e9\u30a4\u30f3\u306b\u3059\u308b\u3053\u3068\u306a\u304f\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u306e\u6587\u7ae0\u3092\u65e5\u672c\u8a9e\u3067\u81ea\u7136\u306a\u8868\u73fe\u306b\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u30021\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u307f\u5fc5\u8981\u3067\u3059\uff1a \u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3 Nginx\u306f\u4e16\u754c\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u591a\u304f\u306e\u30b5\u30a4\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u3001\u5f37\u529b\u306a\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u517c\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3067\u3059\u3002 [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-222","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"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>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5207\u3089\u305a\u306b\u3001Nginx\u3092\u73fe\u5730\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\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\/\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5207\u3089\u305a\u306b\u3001nginx\u3092\u73fe\u5730\u3067\u30a2\u30c3\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5207\u3089\u305a\u306b\u3001Nginx\u3092\u73fe\u5730\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"\u4ee5\u4e0b\u306e\u6587\u7ae0\u3092\u65e5\u672c\u8a9e\u3067\u81ea\u7136\u306a\u8868\u73fe\u306b\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u30021\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u307f\u5fc5\u8981\u3067\u3059\uff1a \u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3 Nginx\u306f\u4e16\u754c\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u591a\u304f\u306e\u30b5\u30a4\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u3001\u5f37\u529b\u306a\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u517c\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3067\u3059\u3002 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5207\u3089\u305a\u306b\u3001nginx\u3092\u73fe\u5730\u3067\u30a2\u30c3\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-29T07:43:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-19T14:14:38+00:00\" \/>\n<meta name=\"author\" content=\"\u5149, \u660e\" \/>\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=\"\u5149, \u660e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\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%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/\",\"name\":\"\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5207\u3089\u305a\u306b\u3001Nginx\u3092\u73fe\u5730\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-03-29T07:43:50+00:00\",\"dateModified\":\"2024-03-19T14:14:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5207\u3089\u305a\u306b\u3001Nginx\u3092\u73fe\u5730\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\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\/9ee62cea876d247deba14a0ac7ba5b55\",\"name\":\"\u5149, \u660e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"caption\":\"\u5149, \u660e\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5207\u3089\u305a\u306b\u3001Nginx\u3092\u73fe\u5730\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u65b9\u6cd5 - Blog - Silicon Cloud","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\/\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5207\u3089\u305a\u306b\u3001nginx\u3092\u73fe\u5730\u3067\u30a2\u30c3\/","og_locale":"ja_JP","og_type":"article","og_title":"\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5207\u3089\u305a\u306b\u3001Nginx\u3092\u73fe\u5730\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u65b9\u6cd5","og_description":"\u4ee5\u4e0b\u306e\u6587\u7ae0\u3092\u65e5\u672c\u8a9e\u3067\u81ea\u7136\u306a\u8868\u73fe\u306b\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u30021\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u307f\u5fc5\u8981\u3067\u3059\uff1a \u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3 Nginx\u306f\u4e16\u754c\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u591a\u304f\u306e\u30b5\u30a4\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u3001\u5f37\u529b\u306a\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u517c\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3067\u3059\u3002 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5207\u3089\u305a\u306b\u3001nginx\u3092\u73fe\u5730\u3067\u30a2\u30c3\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-03-29T07:43:50+00:00","article_modified_time":"2024-03-19T14:14:38+00:00","author":"\u5149, \u660e","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u5149, \u660e","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/","name":"\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5207\u3089\u305a\u306b\u3001Nginx\u3092\u73fe\u5730\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-03-29T07:43:50+00:00","dateModified":"2024-03-19T14:14:38+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u3092\u5207\u3089\u305a\u306b\u3001Nginx\u3092\u73fe\u5730\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\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\/9ee62cea876d247deba14a0ac7ba5b55","name":"\u5149, \u660e","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","caption":"\u5149, \u660e"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%81%ae%e6%8e%a5%e7%b6%9a%e3%82%92%e5%88%87%e3%82%89%e3%81%9a%e3%81%ab%e3%80%81nginx%e3%82%92%e7%8f%be%e5%9c%b0%e3%81%a7%e3%82%a2%e3%83%83\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/222","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\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=222"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/222\/revisions"}],"predecessor-version":[{"id":37888,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/222\/revisions\/37888"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}