the port and directory of the nginx configuration file have been changed, so why is it still 403
the port and directory of the nginx configuration file have been changed, so why is it still 403
1. Check .htaccess:
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
</IfModule>
2. If the domain name is used, whether the host file is configured
whether the 3.vhosts.conf file is configured:
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}