- Plesk for Linux
How to add domain directives (settings) 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 the example on the 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.