标签:serve cat php path index.php uri sni test server
配置文件
/etc/nginx/sites-available/pis
server {
listen 80;
root /mnt/code/pis/webroot;
index index.php;
server_name pis.testing;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php(/|$) {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
}
}
Debian Buster Nginx 布署 Brophp 项目(类 Thinkphp)
标签:serve cat php path index.php uri sni test server
原文地址:https://www.cnblogs.com/mouseleo/p/9462012.html