현재 내 도메인 이름에 올 기본 nginx 페이지 만 제공됩니다. 나는 오류가/etc/hosts 파일이나 enginx.config 파일에 있다고 확신한다.Nginx 및 Passenger 배포 문제
내/etc/hosts 파일은
127.0.0.1 localhost.localdomain localhost
myip server.mydomain.com server
하고 nginx.config은 다음과 같습니다
server {
listen 80;
server_name server.mydomain.com;
root /whatever/pulic;
passenger_enabled on;
rails_env production;
나는 로그에 오류를하지 않습니다. 덧붙여서 mongrel과 mydomain을 실행할 수 있습니다 : 3000 거기에 응용 프로그램을 참조하십시오. 당신의/etc/hosts 파일에서