0
나는 요청 파일이의 nginx 재 작성 질문
을 /abname/rtest/index.php 재 작성됩니다 /abname/index.php 경우 다음 다시 쓰기 규칙
rewrite ^/ab(.*)/(.*)$ /repo/ab$1/rtest/$2 break;
을하지만 요청하는 경우 /abname/dir1/index.php 형식입니다. /abname/dir1/rtest/index.php로 다시 작성되지만 /abname/rtest/dir1/index.php로 다시 작성되기를 원합니다.
나는 규칙을 쓴다?
감사를 /을 피할 필요, 그 일을! – rampr