Apache 및 Passenger에 Rails 4 애플리케이션이 배포되었습니다.시스템 재부팅 후 Rails 애플리케이션이 다시 시작되지 않음
구성은 this thread이고 모든 것이 완벽하게 작동했습니다.
컴퓨터가 다시 시작될 때마다 실행되는 작업을 생성하고 작동하는지 확인하기 위해 컴퓨터를 다시 부팅했습니다.
BUT, 내 웹 주소에 더 이상 연결할 수 없습니다. 컴퓨터가 요청을 응용 프로그램에 전달하지 않는 것 같습니다 (브라우저에서 "이 웹 페이지를 사용할 수 없습니다"라는 메시지가 표시됨).
/etc/httpd/conf/httpd.conf
파일을 다시 검사하여 구성이 존재하는지 확인했습니다. 또한 cap production deploy
을 사용하여 응용 프로그램을 다시 시스템에 푸시하려고 시도했지만 오류가 발생하지 않았습니다. 내가 잘못 간 것을 아무 생각
<VirtualHost *:80>
ServerName csi-eng-perf.com
# !!! Be sure to point DocumentRoot to 'public'!
DocumentRoot /var/www/eng_performance/current/public/
<Directory /var/www/eng_performance/current/public/>
# This relaxes Apache security settings.
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews
# Uncomment this if you're on Apache >= 2.4:
#Require all granted
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
:
/etc/httpd/conf/httpd.conf
파일 내 구성은 다음과 같다.
앱에 연결할 수없는 경우 Apache가 실행 중입니까? Rails 앱의 일부가 아닌 정적 HTML 페이지와 같은 다른 것들을 사용할 수 있습니까? – Substantial
답장을 보내 주셔서 감사합니다! 언급 한 문제를 모두 확인하는 방법을 제안 할 수 있습니까? – cyber101
@Substantial - 뭐? – cyber101