You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Laravel Homestead默认安装Nginx还是Apache?

回答:Homestead(对应Laravel 5.6)默认使用Nginx

Hey there! Nice to see you getting started with Laravel and Homestead—local development is such a solid approach.

To answer your question directly: The version of Homestead you're using (the latest one as of May 7, 2018, paired with Laravel 5.6) defaults to Nginx as its web server. Apache is available as an optional alternative, but it's not enabled out of the box.

If you want to double-check this yourself, you can:

  • SSH into your Homestead machine with the command vagrant ssh
  • Run sudo systemctl status nginx to see if the Nginx service is active and running
  • Or take a look at the site configuration files in /etc/nginx/sites-available/—you'll find your Laravel site's config there, formatted for Nginx.

Hope that clears things up!

内容的提问来源于stack exchange,提问作者user7995285

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.27 03:57:39