Apache 和 Nginx 配置文件¶
Apache 配置文件¶
所有 Plesk 特定的 Apache 配置文件都通过文件 zz010_psa_httpd.conf
使用 Include
指令包括在 Apache 系统配置(默认是 /etc/httpd/httpd.conf
)中。文件 zz010_psa_httpd.conf
根据操作系统的不同可能位于 /etc/apache2/conf.d/
或 /etc/httpd/conf.d/
中。
下表表示 Apache 配置文件的层次结构。
在该图表上:
|
|
---|---|
|
|
|
|
|
文件 file_sharing.conf
未生成,但是与 Plesk 附带提供。
来自 siteapp.d/*.conf
的文件与相应的 APS 包附带提供。
占位符 <domain_name>
是为其生成配置的网站的域名。
nginx 配置文件¶
所有 Plesk 特定的 nginx 配置文件都通过文件 zz010_psa_nginx.conf
使用 Include
指令包括在 nginx 系统配置(默认是 /etc/httpd/nginx.conf
)中。文件 zz010_psa_nginx.conf
位于 /etc/nginx/conf.d/
中。
下表表示 nginx 配置文件的层次结构。
在该图表上:
|
|
---|---|
|
|
|
|
|
占位符 <domain_name>
是为其生成配置的网站的域名。