nginx
server {
listen 80;
server_name your_domain.com;
root /var/www/;
location / {
index index.php index.html index.htm;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
顶一下
(0)
0%
踩一下
(0)
0%
- 相关评论
- 我要评论
-