# Check Whether nginx or Apache Serves a Plesk Static Asset

https://ferkesh.net/zh/knowledgebase/article/plesk-nginx-apache-static-asset-path

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.

![Workflow. Read routing settings. Request a fixture asset. Compare server logs. Confirm the serving layer.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-15b.svg#plesk-nginx-apache-static-asset-path)

## 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](https://ferkesh.net/knowledgebase/article/plesk-compare-proxy-origin-logs)
- [How to Check an Add-On Domain’s Document Root in Plesk](https://ferkesh.net/knowledgebase/article/plesk-check-document-root)

## Official references

- [Plesk Apache and nginx configuration](https://docs.plesk.com/en-US/obsidian/customer-guide/websites-and-domains/hosting-settings/web-server-settings/apache-and-nginx-settings/the-default-value-of-server-settings.72320/)

Ferkesh Hosting. Last reviewed November 27, 2026.
