更新时间:2023-02-23 12:58:43
我对Nginx不太熟悉,但我确实认为您进行重写的正则表达式不正确.
I am not very familiar with Nginx, but I do think that your regex for the rewrite is incorrect.
尝试更改
rewrite ^/(.*)$ /index.php?/$1 last;
收件人:
rewrite ^/(.*)$ /index.php/$1 last;
或者:
rewrite ^.*$ /index.php last;