RadarURL

안녕하세요.
현재 제 운영환경은
OS : Win7 64bit
APM : NGXMP 16.0
사용하고 있습니다.
가상 호스트가 28개 정도 됩니다.

 

처음 설치후 잘 되는가 싶었는데
Log에 upstream timed out (10060: 연결된 구성원으로부터 응답이 없어 연결하지 못했거나, 호스트로부터 응답이 없어 연결이 끊어졌습니다) while connecting to upstream, upstream: "fastcgi://127.0.0.1:9000"
위와 같은 오류가 발생하네요.

브라우저로 접속하면 한참정도 접속 시도를 하다가
504 Gateway Time-out
오류가 나면서 접속이 되지 않습니다.

 

혹시 해당 오류 해결하신분 계실런지요..


==nginx.conf
###########################################
#
# NGXMP 설정 파일
# By totoru ( http://ncafe.kr )
#
###########################################

# 프로세서
# 윈도우에서는 이값을 1로 지정하셔야됩니다.
# 이값은 변경하지 마세요.
worker_processes 1;
worker_rlimit_nofile 10240;

# PCRE JIT
pcre_jit on;

events {
 # 동시 접속자수 기본값 1024명
 # 최대 8192명까지 되도록 컴파일되어있습니다.
 # 최대값 8192 이상은 지정하지마세요. 8192이하의 값을 지정하세요.
 # 수치가 높을수록 메모리도 그만큼 사용됩니다.
 #worker_connections 4096;
 worker_connections 8192;
}

http {
 include mime.types;
 default_type application/octet-stream;
 sendfile on;
 server_tokens off;
  server_names_hash_max_size 512;
  server_names_hash_bucket_size 64;
 # 타임아웃
 keepalive_timeout 15;
 # php 파일 업로드 크기 기본 4096MB 더 큰 파일시 조정하세요.
 client_max_body_size 4096m;
 
 # gzip 압축전송(웹페이지 속도가 빨라집니다) 기본값 On
 gzip on;
 gzip_comp_level 6;
 gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
 gzip_vary on;
 gzip_disable "MSIE [1-6]\.(?!.*SV1)";

 # DDOS
 #limit_conn_zone $binary_remote_addr zone=ddos:10m;
 #limit_conn ddos 50;
 #limit_req_zone $binary_remote_addr zone=phpddos:10m rate=15r/s;


 # GeoIP 사용시 주석제거..
 #geoip_country D:/NGXMP/server/php/GeoIP.dat;

 # index 파일명
 index index.html index.htm index.php;

 server {
  # 포트
  listen 80;
  # 도메인 호스트 네임
  server_name localhost;
 
  # 홈 디렉토리
  root D:/NGXMP/www;
  
  # etc 인클루드
  include etc.conf;

  # php 설정
  location ~ \.php$ {
   # 해킹될수가있어 try_files $uri =404; 추가함
   try_files $uri =404;
   fastcgi_pass 127.0.0.1:9000;
   fastcgi_read_timeout 300;
   fastcgi_index index.php;
   fastcgi_intercept_errors on;
   fastcgi_ignore_client_abort on;
   fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
   include fastcgi_params;
   #limit_req zone=phpddos burst=2;
  }
 }
 
 # SSL 시작
 # SSL 서버 사용시 주석 제거
# server {
#  listen 443;
#  server_name  localhost;
#  ssl on;
#  ssl_certificate D:/NGXMP/server/nginx/conf/ssl/localcert.crt;
#  ssl_certificate_key D:/NGXMP/server/nginx/conf/ssl/localkey.key;
#  ssl_client_certificate D:/NGXMP/server/nginx/conf/ssl/cacert.crt;
#  ssl_session_timeout 5m;
#  ssl_protocols  SSLv2 SSLv3 TLSv1;
#  ssl_ciphers  HIGH:!aNULL:!MD5;
#  ssl_prefer_server_ciphers on;
#  ssl_session_cache shared:SSL:10m;
#
#  root D:/NGXMP/www;

#  # php 설정
#  location ~ \.php$ {
#   # 해킹될수가있어 try_files $uri =404; 추가함
#   try_files $uri =404;
#   fastcgi_pass 127.0.0.1:9000;
#   fastcgi_read_timeout 300;
#   fastcgi_index index.php;
#   fastcgi_intercept_errors on;
#   fastcgi_ignore_client_abort on;
#   fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
#   fastcgi_param HTTPS on;
#   include fastcgi_params;
   #limit_req zone=phpddos burst=2;
#  }
# }
# SSL 설정 끝

 # 가상 호스트 설정파일
 # 사용시 아래 #을 제거하신후 D:/NGXMP/server/nginx/conf/virtualhost.conf 에서 셋팅하면됩니다.
 include virtualhost.conf;
}


==proxy.inc
proxy_connect_timeout   600;
proxy_send_timeout      600;
proxy_read_timeout      600;
send_timeout         600;
proxy_buffer_size       64k;
proxy_buffers           16 32k;
proxy_pass_header       Set-Cookie;
proxy_redirect          off;
proxy_hide_header       Vary;

proxy_busy_buffers_size         64k;
proxy_temp_file_write_size      64k;

proxy_set_header        Accept-Encoding         '';
proxy_ignore_headers    Cache-Control           Expires;
proxy_set_header        Referer                 $http_referer;
proxy_set_header        Host                    $host;
proxy_set_header        Cookie                  $http_cookie;
proxy_set_header        X-Real-IP               $remote_addr;
proxy_set_header        X-Forwarded-Host        $host;
proxy_set_header        X-Forwarded-Server      $host;
proxy_set_header        X-Forwarded-For         $proxy_add_x_forwarded_for;
proxy_set_header        X-Forwarded-Ssl         on;
proxy_set_header        X-Forwarded-Proto       https;

 

==virtualhost.conf
################################
#
# NGXMP 가상 호스트 설정파일
# 아래 예제를 적절히 수정해서 사용하세요.
# 경로및 도메인 수정..
#
################################

# xxx.kr 가상 호스트
server {
 # 포트
 listen 192.168.0.80:80;
 
 # 호스트 네임
 server_name xxx.kr;
 server_name www.xxx.kr;
 server_name web.xxx.kr;
 
 # 홈 디렉토리
 root D:/NGXMP/www/xxx/xe;
 
 # etc 인클루드
 include etc.conf;
 
 # rewrite 설정 인클루드
 include rewrite_xe.conf; 
 
 # aliase 설정
 location /dbadmin {
   alias D:/NGXMP/server/php/phpMyAdmin;
 } 
 
 # php 설정
 location ~ \.php$ {
 # 해킹될수가있어 try_files $uri =404; 추가함
 try_files $uri =404;
 fastcgi_pass 127.0.0.1:9000;
 fastcgi_read_timeout 120;
 fastcgi_index index.php;
 fastcgi_intercept_errors on;
 fastcgi_ignore_client_abort on;
 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
 include fastcgi_params;
 #limit_req zone=phpddos burst=2;
 }
}
.
.
.
.

 

링크 : http://dev.naver.com/projects/ngxmp/issue/76093

?

공부 게시판

공부에 도움되는 글을 올려주세요.

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 [공지] 공부 게시판 입니다. 처누 2003.08.18 928097
2473 연애 폭소클럽 제36회 - 즉석미팅 1 (김제동) file JaeSoo 2003.08.18 18981
2472 연애 폭소클럽 제37회 - 즉석미팅 2 (김제동) file JaeSoo 2003.08.18 17808
2471 연애 폭소클럽 제38회 - 방학특집 연애특강 1 (김제동) 1 file JaeSoo 2003.08.18 16361
2470 연애 폭소클럽 제39회 - 방학특집 연애특강 2 (김제동) file JaeSoo 2003.08.18 17828
2469 연애 폭소클럽 제40회 - 방학특집 연애특강 3 (김제동) file JaeSoo 2003.08.18 16842
2468 웹 프로그래밍 이미지 특정 부분에 링크 만들기 처누 2003.08.24 15624
2467 웹 프로그래밍 게시판에 자신의 FTP 자료 올리기 3 처누 2003.08.25 13135
2466 동식물 고양이 클리닉 - 고양이 기르기 file JaeSoo 2003.10.10 13693
2465 동식물 고양이 클리닉 - 고양이 품종 file JaeSoo 2003.10.10 13427
2464 동식물 고양이 클리닉 - 2개월에서 4개월령 고양이 관리 file JaeSoo 2003.10.11 13428
2463 동식물 고양이 클리닉 - 4개월에서 9개월령 고양이 관리 file JaeSoo 2003.10.11 13132
2462 동식물 고양이 클리닉 - 다자란 고양이 file JaeSoo 2003.10.13 13922
2461 동식물 고양이 클리닉 - 나이든 고양이 file JaeSoo 2003.10.13 13679
2460 동식물 고양이 클리닉 - 고양이의 영양 file JaeSoo 2003.10.13 13429
2459 동식물 고양이 먹이와 주의사항 file JaeSoo 2003.10.13 13902
2458 동식물 아기 고양이의 식사 file JaeSoo 2003.10.13 11821
2457 동식물 고양이 사료 급여량 file JaeSoo 2003.10.13 12880
2456 기타 편지봉투 쓰는 법 file JaeSoo 2003.10.21 16993
2455 웹 프로그래밍 제로보드 로그인 실패시 이유를 메세지로 알려주기 처누 2003.11.04 8459
2454 웹 프로그래밍 최근 게시물 출력시 링크게시물에 스타일시트 적용하기 처누 2003.11.06 7927
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 124 Next
/ 124


즐겨찾기 (가족)

JAESOO's HOMEPAGE


YOUNGAE's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

숭실대 컴퓨터 통신연구실 (서창진)

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

아스가르드 좋은사람/나쁜사람

JServer.kr

제이서버 메타블로그

재수 티스토리


즐겨찾기 (강의, 커뮤니티)

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너