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 936022
2527 건강 올바른 자위습관을 가져야 하는 이유 newfile JaeSoo 2026.01.12 0
2526 연애 대한민국 결정사 직업 등급표 file JaeSoo 2026.01.09 7
2525 생활 알아두면 유용한 향수 향 종류 모음 JaeSoo 2026.01.09 7
2524 업무 로그인 구글 드라이브 안 쓰고 시놀로지 드라이브 쓰는 이유, 설정 방법 & 활용팁 JaeSoo 2026.01.08 8
2523 네트워크 SMB 다중 채널 관리 JaeSoo 2026.01.08 2
2522 네트워크 Synology NAS SMB 3.0 Multichannel 이용하기 JaeSoo 2026.01.08 3
2521 네트워크 어떻게 SSH를 통해 root 권한으로 DSM/SRM에 로그인할 수 있습니까? JaeSoo 2026.01.08 4
2520 네트워크 시놀로지 나스 SMB 3.0 멀티채널 구성하는법 JaeSoo 2026.01.08 5
2519 경제 RWA(Real-World Assets): 실물자산 토큰화 이해 JaeSoo 2026.01.05 8
2518 생활 그루밍성범죄와 가스라이팅 차이점, 처벌 수위 알아보기 JaeSoo 2025.12.23 62
2517 건강 전문의가 추천하는 자위 횟수 file JaeSoo 2025.12.23 65
2516 모바일 일상에 쉽게 적용할 수 있는 수면 관리 앱 5가지 JaeSoo 2025.12.18 106
2515 건강 매일 밤에 머리 감으면 일어나는 일ㅣ탈모 전문가가 알려주는 충격적인 진실ㅣ김주용 원장 1편ㅣ닥터딩요 JaeSoo 2025.12.11 100
2514 건강 다친 손가락에 끼우는 실리콘 손가락 file JaeSoo 2025.12.11 97
2513 연애 성적 취향에 대하여... JaeSoo 2025.12.09 215
2512 연애 fwb(Friends with Benefits)에 대해 JaeSoo 2025.12.09 179
2511 건강 자위가 잠자는 데 도움이됩니까? 알아봅시다! JaeSoo 2025.12.09 171
2510 건강 야동 실태보고서 JaeSoo 2025.12.09 166
2509 건강 불면증 해결을 위한 자위 활용 JaeSoo 2025.12.09 222
2508 연애 변호사가 보아온 상간남들의 공통점 file JaeSoo 2025.11.25 264
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 127 Next
/ 127


즐겨찾기 (가족)

JAESOO's HOMEPAGE


YOUNGAE's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

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

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

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

JServer.kr

제이서버 메타블로그

재수 티스토리


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

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너