와 별거아니었는데 찾아보다 .. 드디어 됐다.

설정방법

먼저  xe.conf

다운받아 nginx가 설치된 경로에 업로드한다.
세부 주소 설정은 regex 공부해서 각자하면되고,  

나는 /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 작성해도 됨


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


+ Recent posts