ubuntu - nginx configuration subdirectory 404
滿天的星座
滿天的星座 2017-07-03 11:43:11
0
1
1110

The system is ubuntu16, using the lnmp one-click installation package
My configuration is as follows:

The path to phpmyadmin is as follows:

Access as follows:

Already reloaded nginx

I haven’t figured it out after spending an afternoon. Is there something wrong with the configuration? Please give me some advice!

滿天的星座
滿天的星座

reply all(1)
大家讲道理

location /MYManager/ {
    alias /home/wwwroot/default/phpmyadmin;
}

location ~ \.php$ {
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
}
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template