nginx/default.conf 수정
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# root | |
location / { | |
try_files $uri $uri/ /index.php; | |
} | |
# v2 folder | |
location /v2/ { | |
try_files $uri $uri/ /v2/index.php; | |
} |
ci 의 루트 폴더가 하위 디렉토리라면 v2 대신에 수정하고 쓰면된다.
출처 : http://wiki.nginx.org/Codeigniter
댓글 없음:
댓글 쓰기