ZzangHo`s History

  • 홈
  • 태그
  • 방명록

Nginx 3

Nginx 성능 튜닝

회사에서 nGrinder를 이용하여 성능 테스트를 하려고 한다. 그전에 nGrinder로 성능 테스트를 하기 위해서는 nginx를 튜닝해줘야 한다. 성능 튜닝 [root@hostname nginx]# cd /etc/nginx/ [root@hostname nginx]# vi nginx.conf worker_processes 16; # auto -> core수 worker_rlimit_nofile 1024000; events { worker_connections 8192; multi_accept on; use epoll; } [root@hostname nginx]# service nginx restart [root@hostname nginx]# vi /etc/security/limits.conf root s..

Nginx 2022.01.27

로드밸런싱 설정

Nginx에서 로드밸런싱 설정을 해보자 [root@hostname ~]# cd /etc/nginx/ [root@hostname nginx]# vi nginx.conf # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: http://nginx.org/ru/docs/ ... http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_..

Nginx 2022.01.27

Nginx 설치

설치 [root@hostname conf.d]# vi /etc/yum.repos.d/nginx.repo [nginx.repo] [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=0 enabled=1 yum install 실행 [root@hostname conf.d]# yum install nginx 413 client intended to send too large body 오류 날 때 nginx body size 제한 (기본값 1m) [nginx.conf] client_max_body_size 100M;

Nginx 2022.01.27
1
더보기
프로필사진

  • 분류 전체보기
    • 검색엔진
      • ElasticSearch
      • Solr
    • Kafka
    • MongoDB
    • Spring
    • Docker
    • Nginx
    • CI & CD
      • Jenkins
    • Slack
    • Tomcat
    • AWS
    • 디자인패턴
    • 기타

Tag

디자인패턴, MongoDB, Elasticsearch, lucene, 삼진법, solr, springbatch, slack, docker, Nginx, ServerlessFramework, ElasticStack, Codedeploy, Jenkins, kafka, spring, KafkaStreams, java, LeetCode, AWS,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • 인스타그램

티스토리툴바