Nginx is a high-performance web server that runs alongside Apache on our Linux hosting infrastructure to handle static files, SSL termination, and caching.
When managing your website under Websites & Domains > Apache & nginx Settings in Plesk, you may notice that options for Apache headers and rules are editable, but the "Additional nginx directives" field is unavailable.
Per Plesk's official documentation, the Additional nginx directives field is strictly restricted to Plesk Administrators. This guide explains why this restriction exists, how our support team can apply custom directives for you on the backend, and what to do if you require full root access.
Why is "Additional Nginx Directives" Restricted?
On shared and reseller hosting servers, multiple tenant websites share the same web server process (
nginx).Unlike Apache rules (which run in isolated
.htaccess files or per-directory containers), custom Nginx directives operate at the web server core and are written directly to the domain's system configuration file on the server node:/var/www/vhosts/system/example.com/conf/vhost_nginx.confAn unverified syntax error, bad regular expression, or conflicting location block in this file can interrupt service and crash web routing across the entire server node. To ensure maximum uptime, speed, and security for all hosted accounts, direct editing of Nginx directives is restricted to system administrators.
What We Can Do For You
Even though the field is restricted in the customer panel, our System Administrators can manually review, syntax-test, and apply custom Nginx directives to your domain on the backend.
Frequently Applied Directives
- Custom static asset caching rules (
expiresheaders for images, CSS, JS, fonts) - Custom HTTP response headers
- Specific file-type access controls or URL blocks
- Proxy pass or custom location adjustments
How to Submit an Nginx Configuration Request
If you need custom Nginx directives applied to your domain, please open a support ticket with the following details:
- Target Domain Name: (e.g.,
yourdomain.com) - Server Name or IP: (e.g.,
canada24.rebel.com) - Exact Nginx Directives / Code Snippet: The exact location blocks or rules you need added.
- Special Instructions: Any specific verification checks (e.g., ensuring HTML pages are excluded from caching or confirming gzip/brotli compression remains active).
Our Tier 3 Hosting Administrators will review the syntax, verify safety, and inject the directives into your site's
vhost_nginx.conf file.Need Full Root or Direct Nginx Access?
If your development workflow requires direct, real-time access to edit web server configuration files without submitting administrator tickets, you will require a self-managed server with full root privileges.
Because our hosting infrastructure is built on managed shared environments, we do not grant subscription-level Nginx permissions or offer self-managed VPS hosting. Developers requiring full root/admin access will need to utilize a dedicated or unmanaged server provider.
Comments
0 comments
Please sign in to leave a comment.