↑ ↓ select, Enter open, Esc close

Show the nginx configuration Plesk generated for a domain

Adjust the values, the command updates live
root@server
cat /var/www/vhosts/system/example.com/conf/nginx.conf

Plesk generates a separate nginx configuration per domain in the domain’s system directory. It shows whether nginx serves static files itself and passes requests to Apache (port 7080 or 7081) via proxy_pass, or whether nginx works alone with PHP-FPM. Additional directives from vhost_nginx.conf are also referenced here via include.

Note: Do not edit this file directly, Plesk overwrites it. Make changes in Websites & Domains under Apache & nginx Settings.

Also searched as

  • plesk nginx config for a domain
  • where is the nginx configuration in plesk
  • check plesk nginx proxy to apache

Related one-liners

All in nginx

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.