This is documentation for Plesk Onyx.
Go to documentation for the latest version, Plesk Obsidian.
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 設定檔的層次結構。
/etc/httpd/httpd.conf |
|||
---|---|---|---|
/etc/httpd/conf.d/zz010_psa_httpd.conf |
|||
/etc/httpd/conf/plesk.conf.d/server.conf |
|||
/etc/httpd/conf/plesk.conf.d/ip_default/@ <domain_name> .conf -> /var/www/vhosts/system/<domain_name>/conf/httpd_ip_default.conf
|
|||
/etc/httpd/conf/plesk.conf.d/horde.conf |
|||
/etc/httpd/conf/plesk.conf.d/webmails/horde/ <domain_name> _webmail.conf
|
|||
/etc/httpd/conf/plesk.conf.d/roundcube.conf |
|||
/etc/httpd/conf/plesk.conf.d/webmails/roundcube/ <domain_name> _webmail.conf
|
|||
/etc/httpd/conf/plesk.conf.d/atmail.conf |
|||
/etc/httpd/conf/plesk.conf.d/webmails/atmail/ <domain_name> _webmail.conf
|
|||
/etc/httpd/conf/plesk.conf.d/vhosts/@ <domain_name> .conf -> /var/www/vhosts/system/<domain_name>/conf/last_httpd.conf
|
|||
/usr/local/psa/admin/conf/file_sharing.conf* |
|||
/var/www/vhosts/system/ <domain_name> /conf/siteapp.d/*.conf
|
|||
/var/www/vhosts/system/ <domain_name> /conf/vhost_ssl.conf
|
|||
/var/www/vhosts/system/ <domain_name> /conf/vhost.conf*
|
|||
/etc/httpd/conf/plesk.conf.d/forwarding/ <domain_name> .conf
|
|||
/etc/httpd/conf/plesk.conf.d/wildcards/@ <domain_name> .conf -> /var/www/vhosts/system/_<domain_name>/conf/last_httpd.conf
|
在該圖表上:
|
|
---|---|
|
|
|
|
|
文件 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 設定檔的層次結構。
/etc/nginx/nginx.conf |
|||
---|---|---|---|
/etc/nginx/conf.d/zz010_psa_nginx.conf |
|||
/etc/nginx/plesk.conf.d/server.conf |
|||
/etc/nginx/plesk.conf.d/vhosts/@ <domain_name> .conf -> /var/www/vhosts/system/ <domain_name> /conf/last_nginx.conf
|
|||
/var/www/vhosts/system/ <domain_name> /conf/vhost_nginx.conf
|
|||
/etc/nginx/plesk.conf.d/forwarding/ <domain_name> .conf
|
在該圖表上:
|
|
---|---|
|
|
|
|
|
預留位置 <domain_name>
是為其生成配置的網站的域名。