에서 지침을 사용하여 Amazion AWS에서 웹 사이트를 설정하기 위해 ec2 + uwsgi + django를 사용하고 있습니다. 소켓으로 uwsgi를 실행하려고하는 단계에 도달 할 때까지 완벽하게 작동합니다.Nginx 및 uwsgi 문제 (EC2에서 구현)
wsgi --socket mysite.sock --wsgi-file test.py '또는'uwsgi --socket mysite.sock --wsgi -file test.py --chmod-socket = 666
(http가 아닌 uwsgi.ini를 아직 사용하지 않았습니다. 단지 명령 만 사용합니다.) 오류가 발생하여 python 파일을 열 수 없습니다. 이 여기
일어나고 왜 확실하지 로그입니다 : 우리는 우분투 시스템에서 동일한 절차를 사용*** Operational MODE: single process ***
failed to open python file wsgi.py
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (and the only) (pid: 32084, cores: 1)
업데이트 그것은 잘 밖으로 일했다!
로그와 함께 오류 메시지를 게시 할 수 있습니까? – Rico
요청에 따라 로그를 추가했습니다. – user3257548