server {
        listen       80;
        server_name  www.sjk.com www.sjk.com;
        root   "D:/www/phpMyAdmin";
        location / {
            index  index.html index.htm index.php;
            #autoindex  on;
        }
        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;
        }
}

 

 

phpstudy nginx 配置域名

 

相关文章:

  • 2022-01-15
  • 2021-10-08
  • 2021-04-02
  • 2021-11-18
  • 2021-11-18
  • 2021-05-22
  • 2021-05-22
  • 2021-11-20
猜你喜欢
  • 2021-11-18
  • 2021-11-18
  • 2021-11-18
  • 2021-11-18
  • 2021-11-18
  • 2021-12-03
相关资源
相似解决方案