- Plesk for Linux
How to include domain-specific Apache configuration directives into web server configuration file?
Domain-specific Apache configuration directives can be included into web server configuration file. In Plesk, each domain has virtual host configuration information stored in a separate file called '
On all Linux systems, this file is located in the folder:
To add domain specific setting for Apache and Nginx web servers:
Go to Home > Subscriptions > example.com > Websites & Domains > Apache & nginx Settings
Add directives for Apache and nginx in Additional Apache directives/Additional nginx directives fields.
After pressing OK button explicit configuration files will be created automatically in
directory and related includes will be added to domain's httpd.conf file.