sandartchip.log
로그인
sandartchip.log
로그인
uwsgi 배포 후 static 파일 깨짐 (404에러)
boingboing
·
2021년 12월 16일
팔로우
0
django
0
현상
uwsgi로 사이트 실행 후 static 파일들이 404로 뜸
http://주소:8005/static/앱명/image/이미지이름.png
원인
404로 뜨는 이유 ?
STATIC_URL이 /static으로 설정되있으므로, 각 {% static %}은 /static으로 렌더링됨 (ok)
url에 주소/static으로 요청하면 -> 모든 앱/static/앱 폴더와 STATIC_DIR 을 순회할텐데...?
boingboing
팔로우
이전 포스트
장고 dump ) The database backend does not accept 0 as a value for AutoField
다음 포스트
nginx 실행안됨 - Job for nginx.service failed because the control process exited with error code.
0개의 댓글
댓글 작성