-
Notifications
You must be signed in to change notification settings - Fork 4
nginx 셋팅 트러블 슈팅
Hoeeeeeh edited this page Dec 5, 2024
·
1 revision
https://chunsubyeong.tistory.com/136
- Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.
⇒ nginx 에서 정적 파일을 서빙할 때, MIME 타입을 설정해야한다.
nginx.conf
http {
include /etc/nginx/mime.types;
# 기본 MIME 타입 설정 (생략할 수도 있음)
default_type application/octet-stream;
# MIME 타입 추가 확인
types {
application/javascript js;
text/css css;
}
# 기타 설정...
}
- 🚀 웹 소켓의 실시간 양방향 통신 (feat. WS vs Socket.io)
- 🤸♂️ 비제어 컴포넌트로 렌더링 최적화 하기
- 👷♀️ Shared Worker로 클라이언트의 소켓 통신 개선하기
- 👨👩👧👦 다중 탭에서 하나의 소켓을 공유할 수 있을까?
- 🚀 [Socket.io] 클라이언트의 실시간 채팅 구현기
- ☕ NestJS를 통한 일관적인 시스템 설계
✈️ 외부의 사용자가 Object Storage에 접근하지 못하는 권한 제어- 🦢 nestjs에서 swagger 사용해보기
- 🛐 NestJS Nginx Request Data Size 문제
- 🔁 다시보기를 위한 Node‐Media‐Server, FFMpeg 분석