Laravel Sail 使用Apache 还是Nginx?
Laravel Sail uses Apache or Nginx?
我使用 docker,通过 Sail 安装 Laravel 9。
我想知道它使用 Apache 还是 Nginx?
哪个 file/line 将 public 文件夹设置为文档根目录?
来自 Laravel sail 的官方仓库
https://github.com/laravel/sail
- 不是 apache 或 nginx 它只是 built-in PHP 服务器 运行 通过
php artisan server
命令
检查这个文件
https://github.com/laravel/sail/blob/1.x/runtimes/8.1/supervisord.conf#L8
希望对您有所帮助
我使用 docker,通过 Sail 安装 Laravel 9。
我想知道它使用 Apache 还是 Nginx?
哪个 file/line 将 public 文件夹设置为文档根目录?
来自 Laravel sail 的官方仓库 https://github.com/laravel/sail
- 不是 apache 或 nginx 它只是 built-in PHP 服务器 运行 通过
php artisan server
命令
检查这个文件
https://github.com/laravel/sail/blob/1.x/runtimes/8.1/supervisord.conf#L8
希望对您有所帮助