My site with Local is built with Apache, MySQL, and WordPress. When I go to Firefox’s DevTools, it shows that the server is nginx/1.26.1.
I’d like to test the security headers, but since nginx doesn’t read the .htaccess file, I’m stuck in a loop. How do I actually configure the server to use Apache?
Hi @fredericm! When you’re looking at your Site Overview here does it show Apache or NGINX for the Web server?
Thank you for sharing that @fredericm!
The Server header is coming from Local’s router, not from Apache. Local puts an nginx router in front of each site so that *.local domains work. That router can answer with its own Server header, so DevTools shows nginx even when Apache is running behind it.
To get around this you can use Localhost as your Router Mode. What is Router Mode? - Local
Preferences>Advanced>Router Mode
I tested this on my end and it works. Once I changed my Router Mode I was able to see Apache as the server type.


