Passengerã ã¨ç°¡åã ã£ããã©Unicornã ã¨ã¡ãã£ã¨æããã£ãã nginxå´ ãã£ã¬ã¯ããªã®æºå nginxã®root以ä¸ã«ä»»æã®ååã®ãµããã£ã¬ã¯ããªãä½ãã ããã¯Ralisã¢ããªã±ã¼ã·ã§ã³ã®publicãã£ã¬ã¯ããªã®ã·ã³ããªãã¯ãªã³ã¯ã«ããã cd /var/www/root ln -s /var/www/my-app/current/public my-app ï¼Capistranoã使ã£ã¦ããã®ã§ãã®ä¾ã§ã¯currentãã¤ãã¦ããï¼ nginxã®è¨å® nginxã®upstreamã¨serverã®è¨å®ãæç²ã upstream unicorn-of-my-app { server www.example.com:8080; } server { listen 80; server_name www.exemple.com root /var/www/root; err
{{#tags}}- {{label}}
{{/tags}}