{"id":5576,"date":"2015-09-11T01:57:15","date_gmt":"2015-09-10T16:57:15","guid":{"rendered":"http:\/\/www.vincentina.net\/?p=5576"},"modified":"2020-02-23T20:27:23","modified_gmt":"2020-02-23T11:27:23","slug":"web-server-was-altered-to-unicorn-from-passenger","status":"publish","type":"post","link":"https:\/\/www.vincentina.net\/?p=5576","title":{"rendered":"Web server was altered to Unicorn from Passenger"},"content":{"rendered":"<p>I saying alter but I do have nothing.<br \/>\nat the setout, When I from an Apache Web Server to Nginx, and then I use Nginx as a Reverse Proxy, add a Unicorn.<\/p>\n<p>reference website.<br \/>\n\u203bThe Web page being the link destination is japanese.<br \/>\n\u3042\u304b\u304e\u30e1\u30e2\u3000Unicorn + nginx \u3067\u8907\u6570\u306e Rails \u30a2\u30d7\u30ea\u3092\u52d5\u304b\u3059<br \/>\nhttp:\/\/blog.akagi.jp\/archives\/3733.html<\/p>\n<p>Actually, My work is imitate the reference website.<\/p>\n<p>It is necessary to add a &#8220;gem unicorn&#8221; in a certain Gemfile in a Web Application Current Directory.<\/p>\n<p>To &#8216;config\/unicorn.rb&#8217; add following character string.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nlisten &quot;\/tmp\/event.sock&quot;\r\npid &quot;\/tmp\/event.pid&quot;\r\n<\/pre>\n<p>Unicorn is started.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nbundle update\r\nbundle exec unicorn_rails -c config\/unicorn.rb -E production -D\r\n<\/pre>\n<p>After, it&#8217;s done reload the nginx by an appropriate description write in the Nginx Config File.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nsudo service nginx restart\r\n<\/pre>\n<div class='wp_social_bookmarking_light'>        <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.vincentina.net\/?p=5576\" data-text=\"Web server was altered to Unicorn from Passenger\" data-via=\"TakekenTw\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>I saying alter but I do have nothing. at the setout, When I from an Apache Web Server to Nginx, and then I use &hellip; <a href=\"https:\/\/www.vincentina.net\/?p=5576\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Web server was altered to Unicorn from Passenger&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117],"tags":[],"class_list":["post-5576","post","type-post","status-publish","format-standard","hentry","category-english"],"_links":{"self":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/5576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5576"}],"version-history":[{"count":0,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/5576\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}