Skip to content
ferkesh.HOSTING

Check Whether nginx or Apache Serves a Plesk Static Asset

Plesk 45 次浏览 Markdown

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.

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.

Official references

Ferkesh Hosting. Last reviewed .

这对您有帮助吗?

感谢您的反馈!

仍需帮助?

如果知识库未能解答您的问题,支持团队全天候为您服务。