server {
listen 80;
server_name www.domain.com;
location ~ \.php$ {
root /var/www/html/www/test/public;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location / {
root /var/www/html/www/;
index index.php;
}
}
docker映射window本地文件夹的nginx的虚拟主机配置文件vhost.nginx.conf
最新推荐文章于 2024-05-28 16:23:48 发布