Nginx在根目录安装的规则应该是: location / { try_files $uri $uri/ /index.php?$uri&$args; } location ~ /(internal_data|library) { internal; }
location / { try_files $uri $uri/ /index.php?$uri&$args; } location ~ /(internal_data|library) { internal; } location /xf/library/ { -----------这里要去掉/XF吗 internal; } location ~ \.php$ { try_files $uri =404; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } nginx伪静态根目录是这样的吗