- 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 settings for Apache and Nginx web servers:
Log into Plesk
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:
Note: After pressing OK button, explicit configuration files will be created automatically in
directory and related includes will be added to domain's
Additional information for advanced administrators can be found in Plesk Advanced Administrator Guide.