{"id":474,"date":"2014-03-10T01:38:50","date_gmt":"2014-03-09T16:38:50","guid":{"rendered":"http:\/\/lovelinux.mydns.jp\/?p=474"},"modified":"2014-08-25T11:22:19","modified_gmt":"2014-08-25T02:22:19","slug":"nginx-passenger-%e9%80%a3%e6%90%bacentos%e7%b7%a8","status":"publish","type":"post","link":"https:\/\/lovelinux.mydns.jp\/?p=474","title":{"rendered":"nginx passenger \u9023\u643a(CentOS\u7de8)"},"content":{"rendered":"<p>nginx\u3068passenger\u3092\u9023\u643a\u3055\u305b\u3001Rails\u30a2\u30d7\u30ea\u3092nginx\u306e\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3067\u516c\u958b\u3059\u308b\u624b\u9806\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3>\u524d\u63d0\u6761\u4ef6<\/h3>\n<p>\u4ee5\u4e0b\u3001nginx\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0\u3092\/opt\/nginx\u3001\/home\/hiro\/workspace\/yourproj\u3000\u306bRails\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u5b58\u5728\u3059\u308b\u3068\u4eee\u5b9a\u3057\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3>\u4e0b\u6e96\u5099<\/h3>\n<p>\u30e6\u30fc\u30b6\u30fcnginx\u3092\u8ffd\u52a0\u3057\u3001\u30ed\u30b0\u30a4\u30f3\u30e6\u30fc\u30b6\u30fc\u3092nginx\u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a0\u3002<\/p>\n<p>[bash]<br \/>\n$ sudo useradd -s \/bin\/false -M nginx<\/p>\n<p>$ sudo usermod -aG nginx $USER<br \/>\n[\/bash]<\/p>\n<p>\u30b0\u30eb\u30fc\u30d7\u3092\u53cd\u6620\u3055\u305b\u308b\u305f\u3081\u306b\u4e00\u65e6\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\/opt\/nginx \u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3001\u6a29\u9650\u8abf\u6574<\/h3>\n<p>[bash]<br \/>\n$ sudo mkdir \/opt\/nginx<br \/>\n$ sudo chown nginx:nginx \/opt\/nginx -R<br \/>\n$ sudo chmod 775 \/opt\/nginx<br \/>\n[\/bash]<\/p>\n<h3>passenger\u306egem\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>[bash]<br \/>\n$ cd \/home\/hiro\/workspace\/yourproj<br \/>\n$ gem install passenger<br \/>\n[\/bash]<\/p>\n<h3>passenger \u9023\u643a\u306e\u305f\u3081\u306b\u3001nginx\u518d\u30b3\u30f3\u30d1\u30a4\u30eb<\/h3>\n<p>[bash]<br \/>\n$ passenger-install-nginx-module<br \/>\n[\/bash]<\/p>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u524d\u306b\u30c1\u30a7\u30c3\u30af\u304c\u8d70\u308a\u3001\u4f55\u3089\u304b\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u7121\u3044\u3088\u7684\u306a\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u3054\u81ea\u8eab\u3067\u304a\u8abf\u3079\u304f\u3060\u3055\u3044\u3002<br \/>\nyum\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u8ffd\u52a0\u3057\u3001\u30a8\u30e9\u30fc\u304c\u6d88\u3048\u308b\u307e\u3067\u4ee5\u4e0b\u3092\u7e70\u308a\u8fd4\u3057\u3066\u307f\u308b\u3002<br \/>\n[bash]<br \/>\n$ passenger-install-nginx-module<br \/>\n[\/bash]<\/p>\n<p>\u7121\u4e8b\u30c1\u30a7\u30c3\u30af\u3092\u901a\u904e\u3059\u308c\u3070\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u304b\u3068\u805e\u3044\u3066\u304f\u308b\u306e\u3067\u3001\uff11\u3092\u9078\u3093\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b<br \/>\n\u3081\u3067\u305f\u304f\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u59cb\u307e\u308b\u3002\uff08\u305d\u3053\u305d\u3053\u5f85\u3061\u307e\u3059\u3002\uff09<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3059\u308b\u3068nginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b passenger\u306e\u5834\u6240\u304c\u66f8\u304d\u3053\u307e\u308c\u307e\u3059\u3002<\/p>\n<p>[bash]<br \/>\nPlease specify a prefix directory [\/opt\/nginx]:<\/p>\n<p>The Nginx configuration file (\/opt\/nginx\/conf\/nginx.conf)<br \/>\nmust contain the correct configuration options in order for Phusion Passenger<br \/>\nto function correctly.<\/p>\n<p>This installer has already modified the configuration file for you! The<br \/>\nfollowing configuration snippet was inserted:<\/p>\n<p>  http {<br \/>\n      &#8230;<br \/>\n      passenger_root \/home\/hiro\/.rvm\/gems\/ruby-2.0.0-p451\/gems\/passenger-4.0.25;<br \/>\n      passenger_ruby \/home\/hiro\/.rvm\/wrappers\/ruby-2.0.0-p451\/ruby;<br \/>\n      &#8230;<br \/>\n  }<\/p>\n<p>[\/bash]<\/p>\n<h3>nginx\u306e\u8a2d\u5b9a\u78ba\u8a8d\u3068\u3001\u8d77\u52d5\u3002<\/h3>\n<p>-t \u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001OK\u306a\u3089\u3070\u3001\u4e00\u65e6\u8d77\u52d5\u3057\u3066\u307f\u3066\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u3067 http:\/\/localhost \u3068\u3057\u3066\u3001nginx\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u304c\u958b\u3051\u308c\u3070OK\u3002<\/p>\n<p>[bash]<br \/>\n$ sudo \/opt\/nginx\/sbin\/nginx -t<br \/>\nnginx: the configuration file \/opt\/nginx\/conf\/nginx.conf syntax is ok<br \/>\nnginx: configuration file \/opt\/nginx\/conf\/nginx.conf test is successful<\/p>\n<p>$ sudo \/opt\/nginx\/sbin\/nginx<br \/>\n[\/bash]<\/p>\n<p>[bash]<br \/>\nps aux |grep nginx<br \/>\n[\/bash]<\/p>\n<p>\u3068\u3057\u3066\u3001nginx: master process \u3068\u306a\u308b\u30d7\u30ed\u30bb\u30b9ID\u3092\u6bba\u3059\u3068\u6b62\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n[bash]<br \/>\n$ sudo kill pid<br \/>\n[\/bash]<\/p>\n<h3>nginx passenger\u9023\u643a\u8a2d\u5b9a<\/h3>\n<p>passenger\u306e\u5834\u6240\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u81ea\u52d5\u7684\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u306e\u4ed6\u306e\u9805\u76ee\u306e\u8abf\u6574\u3002<\/p>\n<p>http:\/\/localhost\/yourproj \u3067\u516c\u958b\u3059\u308b\u3002<\/p>\n<p>[bash]<br \/>\n$ nano \/opt\/nginx\/conf\/nginx.conf<br \/>\n[\/bash]<\/p>\n<p>\u4ee5\u4e0b\u306e\u90e8\u5206\u3092\u8ffd\u8a18<\/p>\n<p>[diff]<br \/>\n+ user  nginx;<\/p>\n<p>+ location ~ ^\/yourproj {<br \/>\n+     root \/home\/hiro\/workspace\/yourproj\/public;<br \/>\n+     passenger_base_uri \/yourproj;<br \/>\n+     passenger_app_root \/home\/hiro\/workspace\/yourproj;<br \/>\n+     passenger_enabled on;<br \/>\n+     rails_env production;<br \/>\n+ }<\/p>\n<p>[\/diff]<\/p>\n<h3>\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u4f5c\u6210<\/h3>\n<p>\u3044\u3061\u3044\u3061\u3001\/opt\/nginx\/sbin\/nginx \u3068\u3057\u305f\u308a\u3001pid\u3092\u63a2\u3057\u3066Kill\u3059\u308b\u306e\u306f\u9762\u5012\u306a\u306e\u3067\u3001\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3002\u3053\u306e\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u306f \u3088\u305d\u306e\u30b5\u30a4\u30c8\u304b\u3089\u62dd\u501f\u3057\u305f\u3082\u306e\u3092\u3001\u8abf\u6574\u3057\u305f\u3082\u306e\u3067\u3059\u3002\u3054\u3081\u3093\u306a\u3055\u3044\u3001\u95b2\u89a7\u3057\u305f\u30b5\u30a4\u30c8\u5fd8\u308c\u3061\u3083\u3044\u307e\u3057\u305f\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\u8abf\u6574\u7b87\u6240\u306f\u3000nginx\u306e\u30d1\u30b9\u3068nginx\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3001\u30ed\u30c3\u30af\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3002\u3059\u3079\u3066\u30d5\u30eb\u30d1\u30b9\u3067\u6307\u5b9a\u3057\u3066\u304a\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u3053\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/03\/nginx.sample\">nginx\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8<\/a><\/p>\n<p>[diff mark=&#8221;18,21,23&#8243;]<br \/>\n#!\/bin\/sh<br \/>\n#<br \/>\n# nginx &#8211; this script starts and stops the nginx daemon<br \/>\n#<br \/>\n# chkconfig:   &#8211; 85 15<br \/>\n# description:  Nginx is an HTTP(S) server, HTTP(S) reverse \\<br \/>\n#               proxy and IMAP\/POP3 proxy server<br \/>\n# processname: nginx<br \/>\n# Source function library.<br \/>\n. \/etc\/rc.d\/init.d\/functions<\/p>\n<p># Source networking configuration.<br \/>\n. \/etc\/sysconfig\/network<\/p>\n<p># Check that networking is up.<br \/>\n[ &#8220;$NETWORKING&#8221; = &#8220;no&#8221; ] &#038;&#038; exit 0<\/p>\n<p>nginx=&#8221;\/opt\/nginx\/sbin\/nginx&#8221;<br \/>\nprog=$(basename $nginx)<\/p>\n<p>NGINX_CONF_FILE=&#8221;\/opt\/nginx\/conf\/nginx.conf&#8221;<\/p>\n<p>lockfile=\/opt\/nginx\/logs\/nginx.lock<\/p>\n<p>start() {<br \/>\n    [ -x $nginx ] || exit 5<br \/>\n    [ -f $NGINX_CONF_FILE ] || exit 6<br \/>\n    echo -n $&#8221;Starting $prog: &#8221;<br \/>\n    daemon $nginx -c $NGINX_CONF_FILE<\/p>\n<p>\u4ee5\u4e0b\u7701\u7565<br \/>\n[\/diff]<\/p>\n<h3>\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u30b3\u30d4\u30fc\u3001\u30b5\u30fc\u30d3\u30b9\u767b\u9332\u3002<\/h3>\n<p>[bash]<\/p>\n<p>$ sudo mv nginx.sample \/etc\/init.d\/nginx<br \/>\n$ sudo chmod 755 \/etc\/init.d\/nginx<br \/>\n$ sudo chkconfig &#8211;add nginx<br \/>\n[\/bash]<\/p>\n<p>\u3053\u308c\u3067\u3001<\/p>\n<p>[bash]<\/p>\n<p>$ sudo \/etc\/rc.d\/init.d\/nginx start<br \/>\n$ sudo \/etc\/rc.d\/init.d\/nginx stop<br \/>\n$ sudo \/etc\/rc.d\/init.d\/nginx restart<br \/>\n[\/bash]<\/p>\n<p>\u3082\u3057\u304f\u306f<\/p>\n<p>[bash]<\/p>\n<p>$ sudo service nginx start<br \/>\n[\/bash]<\/p>\n<p>\u306a\u3069\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>Rails\u30a2\u30d7\u30ea\u52d5\u4f5c\u78ba\u8a8d<\/h3>\n<p>\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u3000http:\/\/localhost\/yourproj\u3000\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3001Rails\u306e\u30a2\u30d7\u30ea\u304c\u52d5\u3051\u3070OK\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>nginx\u3068passenger\u3092\u9023\u643a\u3055\u305b\u3001Rails\u30a2\u30d7\u30ea\u3092nginx\u306e\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3067\u516c\u958b\u3059\u308b\u624b\u9806\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u524d\u63d0\u6761\u4ef6 \u4ee5\u4e0b\u3001nginx\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0\u3092\/opt\/nginx\u3001\/home\/hiro\/workspace\/yourproj\u3000\u306bRails\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u5b58\u5728\u3059\u308b\u3068\u4eee\u5b9a\u3057\u3066\u8aac\u660e\u3057\u307e\u3059\u3002 \u4e0b\u6e96\u5099 \u30e6\u30fc\u30b6\u30fcnginx\u3092\u8ffd\u52a0\u3057\u3001\u30ed\u30b0\u30a4\u30f3\u30e6\u30fc\u30b6\u30fc\u3092nginx\u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a0\u3002 [bash] $ sudo useradd -s \/bin\/false -M nginx $ sudo usermod -aG nginx $USER [\/bash] \u30b0\u30eb\u30fc\u30d7\u3092\u53cd\u6620\u3055\u305b\u308b\u305f\u3081\u306b\u4e00\u65e6\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \/opt\/nginx \u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3001\u6a29\u9650\u8abf\u6574 [bash] $ sudo mkdir \/opt\/nginx $ sudo chown nginx:nginx \/opt\/nginx -R $ sudo chmod 775 \/opt\/nginx [\/bash] passenger\u306egem\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb [bash] $ cd \/home\/hiro\/workspace\/yourproj $ gem install passenger [\/bash] passenger \u9023\u643a\u306e\u305f\u3081\u306b\u3001nginx\u518d\u30b3\u30f3\u30d1\u30a4\u30eb [bash] $ passenger-install-nginx-module [\/bash] \u30b3\u30f3\u30d1\u30a4\u30eb\u524d\u306b\u30c1\u30a7\u30c3\u30af\u304c\u8d70\u308a\u3001\u4f55\u3089\u304b\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u7121\u3044\u3088\u7684\u306a\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u3054\u81ea\u8eab\u3067\u304a\u8abf\u3079\u304f\u3060\u3055\u3044\u3002 yum\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u8ffd\u52a0\u3057\u3001\u30a8\u30e9\u30fc\u304c\u6d88\u3048\u308b\u307e\u3067\u4ee5\u4e0b\u3092\u7e70\u308a\u8fd4\u3057\u3066\u307f\u308b\u3002 [bash] $ passenger-install-nginx-module [\/bash] \u7121\u4e8b\u30c1\u30a7\u30c3\u30af\u3092\u901a\u904e\u3059\u308c\u3070\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u304b\u3068\u805e\u3044\u3066\u304f\u308b\u306e\u3067\u3001\uff11\u3092\u9078\u3093\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b \u3081\u3067\u305f\u304f\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u59cb\u307e\u308b\u3002\uff08\u305d\u3053\u305d\u3053\u5f85\u3061\u307e\u3059\u3002\uff09 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3059\u308b\u3068nginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b passenger\u306e\u5834\u6240\u304c\u66f8\u304d\u3053\u307e\u308c\u307e\u3059\u3002 [bash] Please specify a prefix directory [\/opt\/nginx]: The Nginx configuration file (\/opt\/nginx\/conf\/nginx.conf) must contain the correct configuration options in order for Phusion Passenger to function correctly. This installer has already modified the configuration file for you! The following configuration snippet was inserted: http { &#8230; passenger_root \/home\/hiro\/.rvm\/gems\/ruby-2.0.0-p451\/gems\/passenger-4.0.25; passenger_ruby \/home\/hiro\/.rvm\/wrappers\/ruby-2.0.0-p451\/ruby; &#8230; } [\/bash] nginx\u306e\u8a2d\u5b9a\u78ba\u8a8d\u3068\u3001\u8d77\u52d5\u3002 -t \u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001OK\u306a\u3089\u3070\u3001\u4e00\u65e6\u8d77\u52d5\u3057\u3066\u307f\u3066\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u3067 http:\/\/localhost \u3068\u3057\u3066\u3001nginx\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u304c\u958b\u3051\u308c\u3070OK\u3002 [bash] $ sudo \/opt\/nginx\/sbin\/nginx -t nginx: the configuration file \/opt\/nginx\/conf\/nginx.conf syntax is ok nginx: configuration file \/opt\/nginx\/conf\/nginx.conf test is successful $ sudo \/opt\/nginx\/sbin\/nginx [\/bash] [bash] ps aux |grep nginx [\/bash] \u3068\u3057\u3066\u3001nginx: master process \u3068\u306a\u308b\u30d7\u30ed\u30bb\u30b9ID\u3092\u6bba\u3059\u3068\u6b62\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 [bash] $ sudo kill pid [\/bash] nginx passenger\u9023\u643a\u8a2d\u5b9a passenger\u306e\u5834\u6240\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u81ea\u52d5\u7684\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u306e\u4ed6\u306e\u9805\u76ee\u306e\u8abf\u6574\u3002 http:\/\/localhost\/yourproj \u3067\u516c\u958b\u3059\u308b\u3002 [bash] $ nano \/opt\/nginx\/conf\/nginx.conf [\/bash] \u4ee5\u4e0b\u306e\u90e8\u5206\u3092\u8ffd\u8a18 [diff] + user nginx; + location ~ ^\/yourproj { + root \/home\/hiro\/workspace\/yourproj\/public; + passenger_base_uri \/yourproj; + passenger_app_root \/home\/hiro\/workspace\/yourproj; + passenger_enabled on; + rails_env production; + } [\/diff] \u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u4f5c\u6210 \u3044\u3061\u3044\u3061\u3001\/opt\/nginx\/sbin\/nginx \u3068\u3057\u305f\u308a\u3001pid\u3092\u63a2\u3057\u3066Kill\u3059\u308b\u306e\u306f\u9762\u5012\u306a\u306e\u3067\u3001\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3002\u3053\u306e\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u306f \u3088\u305d\u306e\u30b5\u30a4\u30c8\u304b\u3089\u62dd\u501f\u3057\u305f\u3082\u306e\u3092\u3001\u8abf\u6574\u3057\u305f\u3082\u306e\u3067\u3059\u3002\u3054\u3081\u3093\u306a\u3055\u3044\u3001\u95b2\u89a7\u3057\u305f\u30b5\u30a4\u30c8\u5fd8\u308c\u3061\u3083\u3044\u307e\u3057\u305f\u30fb\u30fb\u30fb\u3002 \u8abf\u6574\u7b87\u6240\u306f\u3000nginx\u306e\u30d1\u30b9\u3068nginx\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3001\u30ed\u30c3\u30af\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3002\u3059\u3079\u3066\u30d5\u30eb\u30d1\u30b9\u3067\u6307\u5b9a\u3057\u3066\u304a\u304d\u307e\u3057\u305f\u3002 \u3053\u3053\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002 nginx\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8 [diff mark=&#8221;18,21,23&#8243;] #!\/bin\/sh # # nginx &#8211; this script starts and stops the nginx daemon # # chkconfig: &#8211; 85 15 # description: Nginx is an HTTP(S) server, HTTP(S) reverse \\ # proxy and IMAP\/POP3 proxy server # processname: nginx # Source function library. . \/etc\/rc.d\/init.d\/functions # Source networking configuration. . \/etc\/sysconfig\/network # Check that networking is up. [ &#8220;$NETWORKING&#8221; = &#8220;no&#8221; ] &#038;&#038; exit 0 nginx=&#8221;\/opt\/nginx\/sbin\/nginx&#8221; prog=$(basename $nginx) NGINX_CONF_FILE=&#8221;\/opt\/nginx\/conf\/nginx.conf&#8221; lockfile=\/opt\/nginx\/logs\/nginx.lock start() { [ -x $nginx ] || exit 5 [ -f $NGINX_CONF_FILE ] || exit 6 echo -n $&#8221;Starting $prog: &#8221;&#8230;<\/p>\n","protected":false},"author":1,"featured_media":475,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[6,4],"tags":[53,13,14,71],"class_list":{"0":"post-474","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-rails","8":"category-4","9":"tag-cetos","10":"tag-nginx","11":"tag-passenger","12":"tag-rails"},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"CentOS 6.5\u74b0\u5883\u306b\u304a\u3044\u3066\u3001nginx\u3068passenger\u3092\u9023\u643a\u3055\u305b\u3001Rails\u30a2\u30d7\u30ea\u3092nginx\u306e\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3067\u516c\u958b\u3059\u308b\u624b\u9806\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"hiroshi\"\/>\n\t<meta name=\"google-site-verification\" content=\"fo5n0bjUdcitu1FsBTJqqwL580wBLhhCM51IEogDt9Y\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/lovelinux.mydns.jp\/?p=474\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Love Linux | enjoy using linux for programming flatform\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"nginx passenger \u9023\u643a(CentOS\u7de8)\" \/>\n\t\t<meta property=\"og:description\" content=\"CentOS 6.5\u74b0\u5883\u306b\u304a\u3044\u3066\u3001nginx\u3068passenger\u3092\u9023\u643a\u3055\u305b\u3001Rails\u30a2\u30d7\u30ea\u3092nginx\u306e\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3067\u516c\u958b\u3059\u308b\u624b\u9806\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/lovelinux.mydns.jp\/?p=474\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2014-03-09T16:38:50+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2014-08-25T02:22:19+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"nginx passenger \u9023\u643a(CentOS\u7de8)\" \/>\n\t\t<meta name=\"twitter:description\" content=\"CentOS 6.5\u74b0\u5883\u306b\u304a\u3044\u3066\u3001nginx\u3068passenger\u3092\u9023\u643a\u3055\u305b\u3001Rails\u30a2\u30d7\u30ea\u3092nginx\u306e\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3067\u516c\u958b\u3059\u308b\u624b\u9806\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=474#article\",\"name\":\"nginx passenger \\u9023\\u643a(CentOS\\u7de8)\",\"headline\":\"nginx passenger \\u9023\\u643a(CentOS\\u7de8)\",\"author\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/wp-content\\\/uploads\\\/2014\\\/03\\\/eye10.png\",\"width\":680,\"height\":207},\"datePublished\":\"2014-03-10T01:38:50+09:00\",\"dateModified\":\"2014-08-25T11:22:19+09:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=474#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=474#webpage\"},\"articleSection\":\"rails, \\u30b5\\u30fc\\u30d0\\u30fc\\u69cb\\u7bc9, cetos, nginx, passenger, rails\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=474#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/lovelinux.mydns.jp\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=2#listItem\",\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=2#listItem\",\"position\":2,\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\",\"item\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=2\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=6#listItem\",\"name\":\"rails\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=6#listItem\",\"position\":3,\"name\":\"rails\",\"item\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=6\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=474#listItem\",\"name\":\"nginx passenger \\u9023\\u643a(CentOS\\u7de8)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=2#listItem\",\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=474#listItem\",\"position\":4,\"name\":\"nginx passenger \\u9023\\u643a(CentOS\\u7de8)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=6#listItem\",\"name\":\"rails\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1\",\"name\":\"hiroshi\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=474#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7c5ca03ae8cd5b5d36ac0f62f59c26d34fd667afa57dafb4978790c04c5146f?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"hiroshi\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=474#webpage\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=474\",\"name\":\"nginx passenger \\u9023\\u643a(CentOS\\u7de8)\",\"description\":\"CentOS 6.5\\u74b0\\u5883\\u306b\\u304a\\u3044\\u3066\\u3001nginx\\u3068passenger\\u3092\\u9023\\u643a\\u3055\\u305b\\u3001Rails\\u30a2\\u30d7\\u30ea\\u3092nginx\\u306e\\u30b5\\u30d6\\u30d5\\u30a9\\u30eb\\u30c0\\u3067\\u516c\\u958b\\u3059\\u308b\\u624b\\u9806\\u3092\\u7d39\\u4ecb\\u3057\\u307e\\u3059\\u3002\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=474#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/wp-content\\\/uploads\\\/2014\\\/03\\\/eye10.png\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=474\\\/#mainImage\",\"width\":680,\"height\":207},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=474#mainImage\"},\"datePublished\":\"2014-03-10T01:38:50+09:00\",\"dateModified\":\"2014-08-25T11:22:19+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#website\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/\",\"name\":\"Love Linux\",\"description\":\"enjoy using linux for programming flatform\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"nginx passenger \u9023\u643a(CentOS\u7de8)","description":"CentOS 6.5\u74b0\u5883\u306b\u304a\u3044\u3066\u3001nginx\u3068passenger\u3092\u9023\u643a\u3055\u305b\u3001Rails\u30a2\u30d7\u30ea\u3092nginx\u306e\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3067\u516c\u958b\u3059\u308b\u624b\u9806\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","canonical_url":"https:\/\/lovelinux.mydns.jp\/?p=474","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"fo5n0bjUdcitu1FsBTJqqwL580wBLhhCM51IEogDt9Y","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lovelinux.mydns.jp\/?p=474#article","name":"nginx passenger \u9023\u643a(CentOS\u7de8)","headline":"nginx passenger \u9023\u643a(CentOS\u7de8)","author":{"@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author"},"publisher":{"@id":"https:\/\/lovelinux.mydns.jp\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/03\/eye10.png","width":680,"height":207},"datePublished":"2014-03-10T01:38:50+09:00","dateModified":"2014-08-25T11:22:19+09:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=474#webpage"},"isPartOf":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=474#webpage"},"articleSection":"rails, \u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9, cetos, nginx, passenger, rails"},{"@type":"BreadcrumbList","@id":"https:\/\/lovelinux.mydns.jp\/?p=474#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp#listItem","position":1,"name":"Home","item":"https:\/\/lovelinux.mydns.jp","nextItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=2#listItem","name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"}},{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=2#listItem","position":2,"name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","item":"https:\/\/lovelinux.mydns.jp\/?cat=2","nextItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=6#listItem","name":"rails"},"previousItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=6#listItem","position":3,"name":"rails","item":"https:\/\/lovelinux.mydns.jp\/?cat=6","nextItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?p=474#listItem","name":"nginx passenger \u9023\u643a(CentOS\u7de8)"},"previousItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=2#listItem","name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"}},{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?p=474#listItem","position":4,"name":"nginx passenger \u9023\u643a(CentOS\u7de8)","previousItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=6#listItem","name":"rails"}}]},{"@type":"Person","@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author","url":"https:\/\/lovelinux.mydns.jp\/?author=1","name":"hiroshi","image":{"@type":"ImageObject","@id":"https:\/\/lovelinux.mydns.jp\/?p=474#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e7c5ca03ae8cd5b5d36ac0f62f59c26d34fd667afa57dafb4978790c04c5146f?s=96&d=mm&r=g","width":96,"height":96,"caption":"hiroshi"}},{"@type":"WebPage","@id":"https:\/\/lovelinux.mydns.jp\/?p=474#webpage","url":"https:\/\/lovelinux.mydns.jp\/?p=474","name":"nginx passenger \u9023\u643a(CentOS\u7de8)","description":"CentOS 6.5\u74b0\u5883\u306b\u304a\u3044\u3066\u3001nginx\u3068passenger\u3092\u9023\u643a\u3055\u305b\u3001Rails\u30a2\u30d7\u30ea\u3092nginx\u306e\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3067\u516c\u958b\u3059\u308b\u624b\u9806\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/lovelinux.mydns.jp\/#website"},"breadcrumb":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=474#breadcrumblist"},"author":{"@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author"},"creator":{"@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/03\/eye10.png","@id":"https:\/\/lovelinux.mydns.jp\/?p=474\/#mainImage","width":680,"height":207},"primaryImageOfPage":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=474#mainImage"},"datePublished":"2014-03-10T01:38:50+09:00","dateModified":"2014-08-25T11:22:19+09:00"},{"@type":"WebSite","@id":"https:\/\/lovelinux.mydns.jp\/#website","url":"https:\/\/lovelinux.mydns.jp\/","name":"Love Linux","description":"enjoy using linux for programming flatform","inLanguage":"en-GB","publisher":{"@id":"https:\/\/lovelinux.mydns.jp\/#person"}}]},"og:locale":"en_GB","og:site_name":"Love Linux | enjoy using linux for programming flatform","og:type":"article","og:title":"nginx passenger \u9023\u643a(CentOS\u7de8)","og:description":"CentOS 6.5\u74b0\u5883\u306b\u304a\u3044\u3066\u3001nginx\u3068passenger\u3092\u9023\u643a\u3055\u305b\u3001Rails\u30a2\u30d7\u30ea\u3092nginx\u306e\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3067\u516c\u958b\u3059\u308b\u624b\u9806\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","og:url":"https:\/\/lovelinux.mydns.jp\/?p=474","article:published_time":"2014-03-09T16:38:50+00:00","article:modified_time":"2014-08-25T02:22:19+00:00","twitter:card":"summary_large_image","twitter:title":"nginx passenger \u9023\u643a(CentOS\u7de8)","twitter:description":"CentOS 6.5\u74b0\u5883\u306b\u304a\u3044\u3066\u3001nginx\u3068passenger\u3092\u9023\u643a\u3055\u305b\u3001Rails\u30a2\u30d7\u30ea\u3092nginx\u306e\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3067\u516c\u958b\u3059\u308b\u624b\u9806\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002"},"aioseo_meta_data":{"post_id":"474","title":"nginx passenger \u9023\u643a(CentOS\u7de8)","description":"CentOS 6.5\u74b0\u5883\u306b\u304a\u3044\u3066\u3001nginx\u3068passenger\u3092\u9023\u643a\u3055\u305b\u3001Rails\u30a2\u30d7\u30ea\u3092nginx\u306e\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3067\u516c\u958b\u3059\u308b\u624b\u9806\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","keywords":[{"label":"nginx","value":"nginx"},{"label":"passenger","value":"passenger"},{"label":"rails","value":"rails"},{"label":"\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0","value":"\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0"},{"label":"\u9023\u643a","value":"\u9023\u643a"},{"label":"CentOS","value":"CentOS"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-08-25 11:05:51","updated":"2025-08-25 11:05:51","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/lovelinux.mydns.jp\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/lovelinux.mydns.jp\/?cat=2\" title=\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\">\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/lovelinux.mydns.jp\/?cat=6\" title=\"rails\">rails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tnginx passenger \u9023\u643a(CentOS\u7de8)\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/lovelinux.mydns.jp"},{"label":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","link":"https:\/\/lovelinux.mydns.jp\/?cat=2"},{"label":"rails","link":"https:\/\/lovelinux.mydns.jp\/?cat=6"},{"label":"nginx passenger \u9023\u643a(CentOS\u7de8)","link":"https:\/\/lovelinux.mydns.jp\/?p=474"}],"_links":{"self":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=474"}],"version-history":[{"count":6,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/474\/revisions"}],"predecessor-version":[{"id":586,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/474\/revisions\/586"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/media\/475"}],"wp:attachment":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}