Check Whether nginx or Apache Serves a Plesk Static Asset
A static URL can be served directly by nginx or passed to Apache, depending on the site's web server settings. The distinction matters when a scoped Apache rewrite or header rule appears to have no effect.
Record the domain's routing settings
In the correct domain's Apache & nginx Settings, record Proxy mode and the installed panel's static-file controls. Check whether the asset extension is configured for direct nginx handling. Confirm the document root and whether a CDN or browser cache can serve a previous copy.
Compare two harmless requests
On private staging choose an ordinary fixture file and a known application route. Use the same hostname and record the request time, status and relevant response headers. Look in the authorized domain's nginx and Apache logs for each request. A Server header alone cannot prove which layer produced the content.
Interpret the path and test the right configuration
If nginx served the file without forwarding to Apache, evaluate rules at the nginx or application layer appropriate to the site design. If the request reached Apache, verify the path and applicable rules there. Keep the configuration limited to staging while checking the expected behavior.
Verify the result
The comparison should identify the layer serving the asset and the layer handling the application request. Save the observed log sources and verify that the final public URL receives the intended headers.
Related guides
- How to Match a Plesk Proxy Request With an Origin Log Entry
- How to Check an Add-On Domain’s Document Root in Plesk
Official references
Ferkesh Hosting. Last reviewed .
Thanks for your feedback!