When accessing / bbs, it was supposed to jump to / bbs/?p=install/info, but it jumped to /?

location ~ ^/bbs/.+\.php$ {
        alias   /home/www/esotalk/;
        rewrite /bbs/(.*\.php?) /$1 break;
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME  /home/www/esotalk$fastcgi_script_name;
        include        fastcgi_params;
    }
    location ~ ^/bbs($|/.*) {
        alias   /home/www/esotalk/$1;
        index   index.php index.html;

put the installation file in. When you visit / bbs, you should jump to / bbs/?p=install/info, but jump to /? p=install/info,

.

find a solution, thank you.

Php
Jul.16,2021

if it is discuz , you need to set the website link in the background to https://domain/bbs, which may be a program jump problem. Take a look at the code


put

rewrite /bbs/(.*\.php?) /$1 break;
Change

to

rewrite /bbs/((.*)\.php?(.*)) /bbs/?p=$1 break;
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e952-2bc7a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e952-2bc7a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?