반응형 OS & Infra79 [ERROR] [Nginx] 413 Request Entity Too Large request 전송량이 현재 설정된 사항을 초과했기 때문 nginx.conf 파일에서 http { ... } 에 해당 내용을 수정하고 재시작. http { client_max_body_size 5M; } 2022. 7. 4. [Nginx] 인터넷 익스플로러 제한 nginx 에서 IE (인터넷익스플로러) 로 접근했을때 지정된 파일로 표시할 수 있다. location / { if ($http_user_agent ~* MSIE) { root /etc/nginx/not-support-ie.html; } } $http_user_agent : 유저에이전트(User Agent) 문자열 ~* : 정규식 , 대소문자 구분안함 MSIE : 유저에이전트(User Agent) 문자열에서 인터넷 익스플로러 비교 위와 같이 수정한 후, nginx 재시작 or reload 2021. 11. 11. [NginX] Dynamic Virtual Host 일단 아직 실행해보지는 않았지만 Keep 해둔다. 링크 다음은 Nginx 설정사항 이다. server { index index.php; set $basepath "/var/www"; set $domain $host; # check one name domain for simple application if ($domain ~ "^(.[^.]*)\.dev$") { set $domain $1; set $rootpath "${domain}"; set $servername "${domain}.dev"; } # check multi name domain to multi application if ($domain ~ "^(.*)\.(.[^.]*)\.dev$") { set $subdomain $1; set $domai.. 2021. 10. 19. 리눅스 비밀번호(패스워드) 변경 passwd 계정(ID) 일단 현재까지는 저걸로만 쓰고 있다. 하지만 자세하게 보려면 설명이 깔끔하게 되어있는 링크를 참고하세요 2021. 3. 28. 이전 1 2 3 4 5 6 ··· 20 다음 반응형