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

?

공부 게시판

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

  1. [공지] 공부 게시판 입니다.

    Date2003.08.18 By처누 Views928101
    read more
  2. http를 https로 리다이렉트하는 여러가지 방법

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  3. SSL인증서 없이 HTTPS에서 HTTP로 되돌리기

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views2
    Read More
  4. [SSL] win-acme, Let's encrypt로 무료 SSL 인증서 발급

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  5. [SSL] Windows 10에서 Let's Encrypt로 SSL 인증서 무료 발급받기

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  6. 무료로 https SSL/TLS 인증서를 발급받을 수 있는 인증 기관

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  7. 아파치 서버에 https SSL 인증서 적용하는 방법 (apache httpd)

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  8. 아파치2(Apache2) SSL HTTPS 적용하기

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  9. 아파치 웹서버에 멀티 도메인에 대한 80, 443 포트 설정하는 방법

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  10. 용량 산정 (동시 접속자 계산)

    Date2016.05.05 Category웹서버,WAS ByJaeSoo Views1028
    Read More
  11. 아파치 httpd.conf 재시작 없이 설정 적용하기

    Date2016.05.02 Category웹서버,WAS ByJaeSoo Views646
    Read More
  12. Tomcat JVM heap memory set 및 size

    Date2016.03.23 Category웹서버,WAS ByJaeSoo Views706
    Read More
  13. Java 실행 옵션 정리

    Date2016.03.23 Category웹서버,WAS ByJaeSoo Views624
    Read More
  14. [JAVA] 개발환경설정 - 표준프레임워크

    Date2016.01.02 Category웹서버,WAS ByJaeSoo Views791
    Read More
  15. Tomcat 7.x 와 8.x 간의 default configuration 차이

    Date2016.01.02 Category웹서버,WAS ByJaeSoo Views717
    Read More
  16. 톰캣 8 소개

    Date2016.01.01 Category웹서버,WAS ByJaeSoo Views517
    Read More
  17. 리눅스 webalizer를 통한 apache log(웹서버 접속 통계) 분석하기 (추천)

    Date2014.12.25 Category웹서버,WAS ByJaeSoo Views1098
    Read More
  18. 리눅스 아파치 로그 뷰어 webalizer, utf-8로 변환하기

    Date2014.12.22 Category웹서버,WAS ByJaeSoo Views880
    Read More
  19. Webalizer Configuration – Configure Webalizer for SEO

    Date2014.12.22 Category웹서버,WAS ByJaeSoo Views1413
    Read More
  20. Webalizer, AWStats에서 국가 정보 확인하기

    Date2014.12.22 Category웹서버,WAS ByJaeSoo Views854
    Read More
  21. Webalizer에서 국가별 로그 출력하기

    Date2014.12.22 Category웹서버,WAS ByJaeSoo Views1082
    Read More
Board Pagination Prev 1 2 3 Next
/ 3


즐겨찾기 (가족)

JAESOO's HOMEPAGE


YOUNGAE's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

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

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

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

JServer.kr

제이서버 메타블로그

재수 티스토리


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

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너