Loris

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Deploy Ubuntu 22.04 Jammy Jellyfish Discussion

Hi !
I have a 403 forbidden error after deploying the rails app
I added some gems in order to deploy it :
gem 'ed25519', '>= 1.2', '< 2.0'
gem 'bcrypt_pbkdf', '>= 1.0', '< 2.0'
gem 'net-smtp'

I added a line on deploy.rb :
set :passenger_restart_with_touch, true

without it the deploy failed

Now deploying seems ok but I have a 403 forbidden error when I need to acces website, here is the log :
2022/05/30 12:03:53 [error] 10803#10803: *177 directory index of "/home/deploy/azureenne/current/public/" is forbidden, client: 78.113.48.84, server: _, request: "GET / HTTP/1.1", host: "212.227.197.131"

I don't have any index file, root page is home.html.erb