→ corrian: check config/secrets.yml 01/29 16:11
→ corrian: need to use rake secert to create key and set env 01/29 16:12
secrets 我已經有設定了喔...:)
※ 編輯: dars94 (220.135.83.164), 01/29/2016 18:43:34
→ wuboy: 看 nginx的error log啊 會告訴你為什麼403 01/29 21:02
抱歉忘了貼 directory index of "/var/www/xxxx/current/public/" is forbidden
※ 編輯: dars94 (182.234.199.219), 01/29/2016 21:26:47
→ l7th: check the owner of the public directory and if 775 01/29 23:00
目前的狀態是這樣...一樣403..
lrwxrwxrwx 1 ubuntu ubuntu 10 Jan 28 09:53 current -> releases/6
drwxrwxrwx 8 ubuntu ubuntu 4.0K Jan 28 09:53 release
※ 編輯: dars94 (182.234.199.219), 01/29/2016 23:16:13
→ CP64: location / 裡面加個 autoindex on; ? 01/30 19:29
→ CP64: 看起像是預設沒開資料夾 Index 會出的錯誤 01/30 19:30
現在瀏覽會把檔案 index 出來,並沒有正確的看到 rails 的歡迎畫面
看起來是 nginx 沒有 pass 讓 passenger 處理到
※ 編輯: dars94 (182.234.199.219), 01/30/2016 22:22:49
anyway... 最後我把 aws instance 整個砍掉重做
流程步驟一樣這次就正常了...Orz
※ 編輯: dars94 (182.234.199.219), 01/31/2016 03:07:30