【发布时间】:2025-04-20 02:30:02
【问题描述】:
使用https://community.opscode.com/cookbooks/httpd/versions/0.1.5
有人知道如何设置 DocumentRoot 吗?财产 ?
我正在使用
httpd_service "default" do
listen_ports ['81']
action :create
end
产生
ServerName centos65x64
ServerRoot /etc/httpd
PidFile /var/run/httpd/httpd.pid
User apache
Group apache
Timeout 400
ErrorLog /var/log/httpd/error_log
LogLevel warn
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
DefaultType None
HostnameLookups off
Listen 0.0.0.0:81
Include conf.d/*.conf
Include conf.d/*.load
在 httpd.conf 中,但我不确定如何设置 DocRoot。
【问题讨论】:
标签: apache chef-infra cookbook