- Connect to the server via SSH
- Run the following command:
# plesk bin domain --show-web-server-settings example.com
How to get and set Additional Apache/Nginx directives via CLI?
Set directives
- Navigate to Domains > example.com > Hosting & DNS > Apache & Nginx
- Add the directives into according fields