{"id":465,"date":"2014-03-09T17:02:07","date_gmt":"2014-03-09T08:02:07","guid":{"rendered":"http:\/\/lovelinux.mydns.jp\/?p=465"},"modified":"2014-03-21T18:22:52","modified_gmt":"2014-03-21T09:22:52","slug":"nginx-passenger-%e9%80%a3%e6%90%ba","status":"publish","type":"post","link":"https:\/\/lovelinux.mydns.jp\/?p=465","title":{"rendered":"nginx passenger \u9023\u643a(Debian\/Ubuntu\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\u3002debian wheezy7.3\u3068Ubuntu12.04\u3067\u8a66\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3>\u4e0b\u6e96\u5099<\/h3>\n<p>nginx\u3092 \u30e6\u30fc\u30b6\u30fc www-data \u3067\u8d70\u3089\u305b\u308b\u306e\u3067\u3001\u30ed\u30b0\u30a4\u30f3\u30e6\u30fc\u30b6\u30fc\u3092www-data\u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a0\u3002<\/p>\n<p>[bash]<br \/>\n$ sudo usermod -aG www-data $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 www-data:www-data \/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\u3001curl-config \u304c\u7121\u3044\u3088\u7684\u306a\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u3001<\/p>\n<p>[bash]<br \/>\n$ sudo apt-get install libcurl4-openssl-dev<br \/>\n[\/bash]<\/p>\n<p>\u4ed6\u306e\u30a8\u30e9\u30fc\u306e\u5834\u5408\u306f\u3001\u3054\u81ea\u8eab\u3067\u304a\u8abf\u3079\u304f\u3060\u3055\u3044\u3002<br \/>\n\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 \/>\n$ ps 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<br \/>\n<strong>\u6ce8\u610f\u70b9\uff01\uff01\uff01\u3000pid\u306e\u884c\u306f\u3001pid\u3068 \/opt\/nginx\/logs\/nginx.pid \u306e\u9593\u306f\u30bf\u30d6\u3067\u533a\u5207\u3063\u3066\u304f\u3060\u3055\u3044\uff01<\/strong><br \/>\n\uff08\u5f8c\u306b\u8a2d\u5b9a\u3059\u308b\u3001\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3053\u306e\u90e8\u5206\u306e\u8a2d\u5b9a\u3092\u8aad\u307f\u8fbc\u3080\u305f\u3081\uff09<\/p>\n<p>[diff mark=&#8221;2&#8243;]<br \/>\n+ user  www-data;<br \/>\n+ pid \/opt\/nginx\/logs\/nginx.pid;<\/p>\n<p>\u301c\u7701\u7565\u301c<br \/>\n    server {<br \/>\n        listen       80;<br \/>\n        server_name  localhost;<\/p>\n<p>\u301c\u7701\u7565\u301c<br \/>\n+ \t\tlocation ~ ^\/yourproj {<br \/>\n+\t\t     root \/home\/hiro\/workspace\/yourproj\/public;<br \/>\n+\t\t     passenger_base_uri \/yourproj;<br \/>\n+\t\t     passenger_app_root \/home\/hiro\/workspace\/yourproj;<br \/>\n+\t\t     passenger_enabled on;<br \/>\n+\t\t     rails_env production;<br \/>\n+ \t\t}<\/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 apt-get \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3082\u306e\u3092\u3001\u8abf\u6574\u3057\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u8abf\u6574\u7b87\u6240\u306f\u3000DEAMON\u306e\u30d1\u30b9\u3068nginx\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3002\u4e21\u65b9\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\">nginx\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8<\/a><\/p>\n<p>[diff mark=&#8221;14,28&#8243;]<br \/>\n#!\/bin\/sh<\/p>\n<p>### BEGIN INIT INFO<br \/>\n# Provides:\t  nginx<br \/>\n# Required-Start:    $local_fs $remote_fs $network $syslog $named<br \/>\n# Required-Stop:     $local_fs $remote_fs $network $syslog $named<br \/>\n# Default-Start:     2 3 4 5<br \/>\n# Default-Stop:      0 1 6<br \/>\n# Short-Description: starts the nginx web server<br \/>\n# Description:       starts nginx using start-stop-daemon<br \/>\n### END INIT INFO<\/p>\n<p>PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin<br \/>\nDAEMON=\/opt\/nginx\/sbin\/nginx<br \/>\nNAME=nginx<br \/>\nDESC=nginx<\/p>\n<p># Include nginx defaults if available<br \/>\nif [ -r \/etc\/default\/nginx ]; then<br \/>\n\t. \/etc\/default\/nginx<br \/>\nfi<\/p>\n<p>test -x $DAEMON || exit 0<\/p>\n<p>. \/lib\/init\/vars.sh<br \/>\n. \/lib\/lsb\/init-functions<\/p>\n<p>PID=$(awk -F'[ \\t;]&#8217; &#8216;$1 !~ \/^#\/ &#038;&#038; \/pid\/ {print $2}&#8217; \/opt\/nginx\/conf\/nginx.conf)<\/p>\n<p>if [ -z &#8220;$PID&#8221; ]<br \/>\nthen<br \/>\n\tPID=\/run\/nginx.pid<br \/>\nfi<\/p>\n<p># Check if the ULIMIT is set in \/etc\/default\/nginx<br \/>\nif [ -n &#8220;$ULIMIT&#8221; ]; then<br \/>\n\t# Set the ulimits<br \/>\n\tulimit $ULIMIT<br \/>\nfi<\/p>\n<p>#<br \/>\n# Function that starts the daemon\/service<br \/>\n#<br \/>\ndo_start()<br \/>\n{<\/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 \/etc\/init.d\/<br \/>\n$ sudo chmod 755 \/etc\/init.d\/nginx<br \/>\n$ sudo chown root:root \/etc\/init.d\/nginx<\/p>\n<p># Debian\u306e\u5834\u5408<br \/>\n$ sudo insserv nginx<\/p>\n<p># Ubuntu\u306e\u5834\u5408<br \/>\n$ sudo sysv-rc-conf nginx on<\/p>\n<p>[\/bash]<\/p>\n<p>\u3053\u308c\u3067\u3001<\/p>\n<p>[bash]<\/p>\n<p>$ sudo \/etc\/init.d\/nginx start<br \/>\n$ sudo \/etc\/init.d\/nginx stop<br \/>\n$ sudo \/etc\/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\u3002debian wheezy7.3\u3068Ubuntu12.04\u3067\u8a66\u3057\u307e\u3057\u305f\u3002 \u4e0b\u6e96\u5099 nginx\u3092 \u30e6\u30fc\u30b6\u30fc www-data \u3067\u8d70\u3089\u305b\u308b\u306e\u3067\u3001\u30ed\u30b0\u30a4\u30f3\u30e6\u30fc\u30b6\u30fc\u3092www-data\u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a0\u3002 [bash] $ sudo usermod -aG www-data $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 www-data:www-data \/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\u3001curl-config \u304c\u7121\u3044\u3088\u7684\u306a\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u3001 [bash] $ sudo apt-get install libcurl4-openssl-dev [\/bash] \u4ed6\u306e\u30a8\u30e9\u30fc\u306e\u5834\u5408\u306f\u3001\u3054\u81ea\u8eab\u3067\u304a\u8abf\u3079\u304f\u3060\u3055\u3044\u3002 \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 \u6ce8\u610f\u70b9\uff01\uff01\uff01\u3000pid\u306e\u884c\u306f\u3001pid\u3068 \/opt\/nginx\/logs\/nginx.pid \u306e\u9593\u306f\u30bf\u30d6\u3067\u533a\u5207\u3063\u3066\u304f\u3060\u3055\u3044\uff01 \uff08\u5f8c\u306b\u8a2d\u5b9a\u3059\u308b\u3001\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3053\u306e\u90e8\u5206\u306e\u8a2d\u5b9a\u3092\u8aad\u307f\u8fbc\u3080\u305f\u3081\uff09 [diff mark=&#8221;2&#8243;] + user www-data; + pid \/opt\/nginx\/logs\/nginx.pid; \u301c\u7701\u7565\u301c server { listen 80; server_name localhost; \u301c\u7701\u7565\u301c + 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 apt-get \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3082\u306e\u3092\u3001\u8abf\u6574\u3057\u305f\u3082\u306e\u3067\u3059\u3002 \u8abf\u6574\u7b87\u6240\u306f\u3000DEAMON\u306e\u30d1\u30b9\u3068nginx\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3002\u4e21\u65b9\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;14,28&#8243;] #!\/bin\/sh ### BEGIN INIT INFO # Provides: nginx # Required-Start: $local_fs $remote_fs $network $syslog $named # Required-Stop: $local_fs $remote_fs $network $syslog $named # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: starts the nginx web server # Description: starts nginx using start-stop-daemon ### END INIT INFO PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin DAEMON=\/opt\/nginx\/sbin\/nginx NAME=nginx DESC=nginx # Include nginx defaults if available if [ -r \/etc\/default\/nginx ]; then&#8230;<\/p>\n","protected":false},"author":1,"featured_media":483,"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":[13,14,71],"class_list":{"0":"post-465","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-rails","8":"category-4","9":"tag-nginx","10":"tag-passenger","11":"tag-rails"},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"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\" \/>\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=465\" \/>\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\" \/>\n\t\t<meta property=\"og:description\" content=\"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\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/lovelinux.mydns.jp\/?p=465\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2014-03-09T08:02:07+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2014-03-21T09:22:52+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\" \/>\n\t\t<meta name=\"twitter:description\" content=\"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\" \/>\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=465#article\",\"name\":\"nginx passenger \\u9023\\u643a\",\"headline\":\"nginx passenger \\u9023\\u643a(Debian\\\/Ubuntu\\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\\\/eye-30.png\",\"width\":680,\"height\":207},\"datePublished\":\"2014-03-09T17:02:07+09:00\",\"dateModified\":\"2014-03-21T18:22:52+09:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=465#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=465#webpage\"},\"articleSection\":\"rails, \\u30b5\\u30fc\\u30d0\\u30fc\\u69cb\\u7bc9, nginx, passenger, rails\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=465#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=465#listItem\",\"name\":\"nginx passenger \\u9023\\u643a(Debian\\\/Ubuntu\\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=465#listItem\",\"position\":4,\"name\":\"nginx passenger \\u9023\\u643a(Debian\\\/Ubuntu\\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=465#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=465#webpage\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=465\",\"name\":\"nginx passenger \\u9023\\u643a\",\"description\":\"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\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=465#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\\\/eye-30.png\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=465\\\/#mainImage\",\"width\":680,\"height\":207},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=465#mainImage\"},\"datePublished\":\"2014-03-09T17:02:07+09:00\",\"dateModified\":\"2014-03-21T18:22:52+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","description":"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","canonical_url":"https:\/\/lovelinux.mydns.jp\/?p=465","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=465#article","name":"nginx passenger \u9023\u643a","headline":"nginx passenger \u9023\u643a(Debian\/Ubuntu\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\/eye-30.png","width":680,"height":207},"datePublished":"2014-03-09T17:02:07+09:00","dateModified":"2014-03-21T18:22:52+09:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=465#webpage"},"isPartOf":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=465#webpage"},"articleSection":"rails, \u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9, nginx, passenger, rails"},{"@type":"BreadcrumbList","@id":"https:\/\/lovelinux.mydns.jp\/?p=465#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=465#listItem","name":"nginx passenger \u9023\u643a(Debian\/Ubuntu\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=465#listItem","position":4,"name":"nginx passenger \u9023\u643a(Debian\/Ubuntu\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=465#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=465#webpage","url":"https:\/\/lovelinux.mydns.jp\/?p=465","name":"nginx passenger \u9023\u643a","description":"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","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/lovelinux.mydns.jp\/#website"},"breadcrumb":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=465#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\/eye-30.png","@id":"https:\/\/lovelinux.mydns.jp\/?p=465\/#mainImage","width":680,"height":207},"primaryImageOfPage":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=465#mainImage"},"datePublished":"2014-03-09T17:02:07+09:00","dateModified":"2014-03-21T18:22:52+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","og:description":"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","og:url":"https:\/\/lovelinux.mydns.jp\/?p=465","article:published_time":"2014-03-09T08:02:07+00:00","article:modified_time":"2014-03-21T09:22:52+00:00","twitter:card":"summary_large_image","twitter:title":"nginx passenger \u9023\u643a","twitter:description":"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"},"aioseo_meta_data":{"post_id":"465","title":"nginx passenger \u9023\u643a","description":"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","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"}],"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:02:26","updated":"2025-08-25 11:02:26","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(Debian\/Ubuntu\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(Debian\/Ubuntu\u7de8)","link":"https:\/\/lovelinux.mydns.jp\/?p=465"}],"_links":{"self":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/465","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=465"}],"version-history":[{"count":13,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/465\/revisions"}],"predecessor-version":[{"id":622,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/465\/revisions\/622"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/media\/483"}],"wp:attachment":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}