3 ms·
The attack surface could probably be lowered a bit by configuring the HTTP server (nginx, etc.) to return 204 instead of running PHP behind it. Still, neat :)
by izacus 3y ago
The attack surface could probably be lowered a bit by configuring the HTTP server (nginx, etc.) to return 204 instead of running PHP behind it.
Still, neat :)
- sp1rit 3y agoI don't think this has anything to do with "attack surface". This is simply to avoid google collecting ip addresses. Running nginx might be marginally faster than PHP, but I believe the latency to your server will be far greater than the time it takes the server "to spin up the php interpreter" (doesn't even happen anymore when using FastCGI).