phpstudy uses nginx server to configure multi-site. After setting pseudo-static, garbled characters will appear in the domain name manager.
Time
Time 2019-01-15 20:33:00
0
3
1204
server {
        listen       8080;
        server_name  127.0.0.1 ;
        root   "D:\code\gome\web";
        location / {
            index  index.html index.htm index.php;
            #autoindex  on;
            if (!-e $request_filename) {
                rewrite  ^/(.*)$  /index.php?r=  last;
                break;
            }
        }
        location ~ \.php(.*)$ {
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_split_path_info  ^((?U).+\.php)(/?.+)$;
            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            fastcgi_param  PATH_INFO  $fastcgi_path_info;
            fastcgi_param  PATH_TRANSLATED  $document_root$fastcgi_path_info;
            include        fastcgi_params;
        }
}

微信截图_20190115202209.png微信截图_20190115202947.png

Time
Time

reply all(2)
Time

anyone there? It seems to be a phpstudy bug

Time

Someone has encountered this code

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!