묻고답하기

/etc/nginx/conf.d

의 default.conf 파일을 고쳤습니다.



server {

listen 80;
root /home/site/public_html;
server_name site.com www.site.com;
include php.conf;
include rewrite_xe.conf;
include security.conf;

location / {
index index.php index.html index.htm;
}
location /files/attach
 {
                         default_type    application/octet-stream;
 
                        location ~ \.php$
                        {
                                break;
                        }
                }
deny 113.12.0.0/16;




#location /cgi-bin {
location ~ \.cgi|pl$ {
	gzip off;
	root /home/site/public_html;
#fastcgi_pass unix:/var/run/nginx/cgiwrap-dispatch.sock;
	fastcgi_pass  unix:/var/run/fcgiwrap.socket;
	include fastcgi_params;
	fastcgi_param SCRIPT_FILENAME /home/site/public_html$fastcgi_script_name;
}


#location /ff {
#	include proxy.conf;
#	proxy_pass   http://127.0.0.1:8000;
#}








}

server {

listen 80;
root /home/sitetest/public_html;
server_name test.site.com www.test.site.com;
include php.conf;
include rewrite_xe.conf;
include security.conf;

location / {
index index.php index.html index.htm;
}
location /files/
 {
                         default_type    application/octet-stream;
 
                        location ~ \.php$
                        {
                                break;
                        }
                }
deny 113.12.0.0/16;

#location /cgi-bin {
location ~ \.cgi|pl$ {
	gzip off;
	root /home/sitetest/public_html;
#fastcgi_pass unix:/var/run/nginx/cgiwrap-dispatch.sock;
	fastcgi_pass  unix:/var/run/fcgiwrap.socket;
	include fastcgi_params;
	fastcgi_param SCRIPT_FILENAME /home/sitetest/public_html$fastcgi_script_name;
}


#location /ff {
#	include proxy.conf;
#	proxy_pass   http://127.0.0.1:8000;
#}



}




server {

listen 80;
root /home/sitetest2/public_html;
server_name test2.site.com www.test2.site.com;
include php.conf;
include rewrite_xe.conf;
include security.conf;

location / {
index index.php index.html index.htm;
}
location /files/
 {
                         default_type    application/octet-stream;
 
                        location ~ \.php$
                        {
                                break;
                        }
                }
deny 113.12.0.0/16;

#location /cgi-bin {
location ~ \.cgi|pl$ {
	gzip off;
	root /home/sitetest2/public_html;
#fastcgi_pass unix:/var/run/nginx/cgiwrap-dispatch.sock;
	fastcgi_pass  unix:/var/run/fcgiwrap.socket;
	include fastcgi_params;
	fastcgi_param SCRIPT_FILENAME /home/sitetest2/public_html$fastcgi_script_name;
}


#location /ff {
#	include proxy.conf;
#	proxy_pass   http://127.0.0.1:8000;
#}



}



위와같이 설정했습니다.


site.com 은 원래 잘써왔구요


sitetest.com 은 예전에 저렇게 등록시켜놓고 있다가 이번에 서버에사용자추가하고 연결하니 잘되더라구요


근데


sitetest2.com 요놈이 말썽이네요 아무리 해도 안됩니다.. ㅜㅜ


혹시 추가로 더 해야할것이 있나요? 


p.s dns설정은 다 해줬습니다 ㅜ.


글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
뀰귤 제작중인 모듈의 모바일 레이아웃이 적용이 안되서 걱정이예요 ㅠㅠ [4] 2015.01.15 by Hello_XE
eustshsk 아주 기초젓인 질문 하나 물어보겠습니다. [5] 2015.01.15 by Hello_XE
노에르 memcache 사용하려고 하는데요! 캐시 생성이 안됩니다... file  
4no라면 서버 구성에 대한 자문 및 마이그레이션 [2] 2015.01.15 by 4no라면
EntryPoint 회원가입 페이지 수정 file  
이니셔티브 XE에서 사용가능한 버튼스타일 목록은 어디서 확인할 수 있을까요? [3] 2015.01.15 by 이니셔티브
다크진 누군가 admin 에 계속 로그인을 시도하네 ㅡㅡ [2] 2015.01.15 by 세상의모든계산기
wonygo3 기본 홈 고쳐서 홈피제작중.. 질문사항임돠ㅜㅜ [2] file 2015.01.15 by wonygo3
새로운 아무짓도 안했는데 갑자기 게시판 전체가 먹통입니다 ㅠㅠ 에러떠요 [1] 2015.01.15 by 휘즈
beef 글쓰기 폼을 추가했는데 데이터가 남지 않습니다 [3] 2015.01.16 by beef
돈킴 이런 기능 만들기 어려운가요..? (초보) [1] 2015.01.15 by GG
스무스스 레벨은 유지하고 레벨별 포인트를 변경하는 방법 아시는 분 계신가요? [2] 2015.01.14 by 스무스스
XESTUDIO css 초보적질문 2 [2] 2015.01.14 by XESTUDIO
세상의모든계산기 아약스보드 (모듈) 사용중 IE 호환성 문의 [5] 2015.01.14 by 세상의모든계산기
putty XE 게시판 스킨 어떤것 쓰시나요? [2] 2015.01.14 by XESniper
XESTUDIO css 초보적질문 [2] 2015.01.14 by XESTUDIO
강룡십팔장 관리자 계정만 로그인 안됩니다. [4] 2015.01.14 by 강룡십팔장
마후님 스케치북5 유튜브 보드에서 확장변수 값이 없으면 숨기기 file  
서기에요 게시판 섬네일 목록 리스트 첫페이지 누락? [7] 2015.01.14 by 서기에요
노에르 CacheHandler 캐시 생성 방법을 알고 싶습니다.