Running Apache in Local, but Network tab in Chrome shows NGINX server in asset header

I’m using the Apache server in Local Lightning, v5.7.5 on a Windows 10 machine.

I’ve been doing some image performance testing in the Chrome network tab, and the headers for each image say the server is NGINX /1.16.0.

Why does it say NGINX when I’ve set Apache in Local?

Hey @Superfein – Nice attention to detail!

Local spins up an nginx process we called “Router” that listens on port 80. This serves as a proxy to the actual WordPress site that is listening on whatever port it is spun up on (usually something like port :10011)

This allows Local to have multiple WordPress sites running at the same time, as well as allow for the useful Site Domain (example.local) as opposed to a more generic port number like localhost:10011)

In your case, the actual WordPress site will be running Apache, but since it’s being proxied by the Router, that’s what the response header will show.

Does that make sense and answer your question?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.