Passengerを使用して私のレールアプリを配備する際にこのウォークスルー(https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/ownserver/apache/oss/el6/deploy_app.html)に従ったが、ブラウザでIPアドレスに移動しようとすると 'This site can be到達した 'エラー。私はNginxを使って同じ問題を抱えていましたが、私はApacheに切り替えましたが、同じ問題がまだあります。これは私の最初の展開であり、今は本当に混乱しています。どんな助けもありがとう。それはPassengerとApacheを使用してvpsにレールアプリをデプロイ
<VirtualHost *:80>
ServerName 144.217.160.59
# Tell Apache and Passenger where your app's 'public' directory is
DocumentRoot /var/www/my_fast_cash/code/public
PassengerRuby /usr/local/rvm/gems/ruby-2.3.1/wrappers/ruby
# Relax Apache security settings
<Directory /var/www/my_fast_cash/code/public>
Allow from all
Options -MultiViews
# Uncomment this if you're on Apache >= 2.4:
#Require all granted
</Directory>
</VirtualHost>
削除/コード:
コードは、そのようなものです。 –