RadarURL

조회 수 18569 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부

와 별거아니었는데 찾아보다 .. 드디어 됐다.
설정방법
먼저   xe.conf
다운받아 nginx가 설치된 경로에 업로드한다.
나는 /etc/nginx/sites-available/에 올림
 
$cd /etc/nginx/sites-available/

$vi default
 
하고,
 

server {
        root /usr/share/nginx/www/;
        index index.php index.html index.htm;

        server_name jasontody.com;

        location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to index.html
                try_files $uri $uri/ /index.html;
                # Uncomment to enable naxsi on this location
                # include /etc/nginx/naxsi.rules
        }
        include /etc/nginx/sites-available/xe.conf;
 
이렇게 하고  nginx restart 시켜주면 끝.
 
$sudo /etc/init.d/nginx restart
 
ftp로 업로드 안하고 직접 xe.conf 작성해도 됨
 
 if ($request_uri ~* /phpmyadmin) {
break;
}
# reserve XE Layout Template Source File (*.html)
rewrite ^/(layouts|m.layouts)/(.+)/(.+)\.html$ /index.php last;
# conf, query, schema
rewrite ^/(modules|addons|widgets)/(.+)/(conf|queries|schemas)/(.+)\.xml$ /index.php last;
# static files
if (!-f $request_filename) {
rewrite ^/(.+)/files/(member_extra_info|attach|cache|faceOff)/(.*) /files/$2/$3 last;
}
if (!-f $request_filename) {
rewrite ^/(.+)/(files|modules|common|widgets|widgetstyles|layouts|m.layouts|addons)/(.*) /$2/$3 last;
}
# rss , blogAPI
rewrite ^/(rss|atom)$ /index.php?module=rss&act=$1 last;
rewrite ^/([a-zA-Z0-9_]+)/(rss|atom|api)$ /index.php?mid=$1&act=$2 last;
rewrite ^/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/(rss|atom|api)$ /index.php?vid=$1&mid=$2&act=$3 last;
# trackback
rewrite ^/([0-9]+)/(.+)/trackback$ /index.php?document_srl=$1&key=$2&act=trackback last;
rewrite ^/([a-zA-Z0-9_]+)/([0-9]+)/(.+)/trackback$ /index.php?vid=$1&document_srl=$2&key=$3&act=trackback last;
# administrator page
rewrite ^/admin/?$ /index.php?module=admin last;
# document permanent link
rewrite ^/([0-9]+)$ /index.php?document_srl=$1 last;
# mid link
if (!-d $request_filename) {
rewrite ^/([a-zA-Z0-9_]+)/?$ /index.php?mid=$1 last;
}
# mid + document link
rewrite ^/([a-zA-Z0-9_]+)/([0-9]+)$ /index.php?mid=$1&document_srl=$2 last;
# vid + mid link
if (!-d $request_filename) {
rewrite ^/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/?$ /index.php?vid=$1&mid=$2 last;
}
# vid + mid + document link
rewrite ^/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/([0-9]+)$ /index.php?vid=$1&mid=$2&document_srl=$3 last;
# mid + entry title
rewrite ^/([a-zA-Z0-9_]+)/entry/(.+)$ /index.php?mid=$1&entry=$2 last;
# vid + mid + entry title
rewrite ^/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/entry/(.+)$ /index.php?vid=$1&mid=$2&entry=$3 last;
 
코드출처 : http://dev.naver.com/projects/ngxmp/

 

xpressengine Admin에서 이것까지 체크해주면 끝

nginx_rw.png  
 
출처 : http://tistory.jasontody.com/52

?

공부 게시판

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

  1. No Image notice by 처누 2003/08/18 by 처누
    Views 928104 

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

  2. WIndows Application의 실행 속도 측정

  3. 메모리 부족 현상 (allowed memory size of 134217728 bytes..)

  4. Guzzle - cURL error 60: SSL certificate problem: unable to get local issuer certificate 문제 해결

  5. XE 캐시파일 재성생후 404 Oops, Sorry. Page is not found! 나올때

  6. [Apple] 엔터프라이즈 계정신청 (Enterprise Program)

  7. XE - " Fatal error: Class 'Object' not found in " / class 낫파운드 오류

  8. [MSA] MSA란 무엇인가? 개념 이해하기

  9. iOS 앱 개발을 위한 인증서 생성 및 관리

  10. [ iOS ] 앱 스토어 개인, 회사, 엔터프라이즈 차이점

  11. PHP 파서 이해하기 (<?php의 php를 생략하고 간단히 <? 태그 와 ?> 태그를 사용하는 방법)

  12. SVN의 cleanup 에러시 해결방법

  13. [오류해결] svn cleanup failed-previous operation has not finished; run cleanup if it was interrupted

  14. TortoiseSVN 계정변경

  15. SVN passwd 설정 : 계정 (users/passwd)

  16. XE 비회원 글쓰기 항목 지우기

  17. 메모리 영역 (code, data, stack, heap)

  18. [SVN] Subversion 명령들

  19. IBM JDK 1.6 에서 Spring 2.5.2를 사용할 때 GenericTypeResolver 에서 NullPointerException이 발생하는 문제

  20. 오른쪽 마우스 금지 소스 / 드래그 금지 소스

  21. [전자정부 표준프레임워크] 톰캣(Tomcat) 설치하기

Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 18 Next
/ 18


즐겨찾기 (가족)

JAESOO's HOMEPAGE


YOUNGAE's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

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

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

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

JServer.kr

제이서버 메타블로그

재수 티스토리


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

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너