- Plesk for Linux
How to add domain specific Apache or nginx directives to web server configuration file on Plesk for Linux?
To add domain specific setting for Apache and Nginx web servers:
Go to Home > Subscriptions > example.com > Websites & Domains > Apache & nginx Settings
Add required directives for Apache and nginx in Additional Apache directives/Additional nginx directives fields as in example on screenshot:
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.
Additional information for advanced administrators can be found in Plesk Advanced Administrator Guide.