CI 在lnmp1.3中的nginx 中显示 404 路由无效

2020-05-23  本文已影响0人  张清柏

#include enable-php.conf;
        include enable-php-pathinfo.conf;
    
    location /{
         if (!-e $request_filename) {
             rewrite ^/(.*)$ /index.php/$1 last;
         }
    }

上一篇 下一篇

猜你喜欢

热点阅读