Hide raw regular expression from $_SERVER['server_name']

Jonathan Matthews contact at jpluscplusm.com
Sun Aug 4 09:14:33 UTC 2013

On 4 Aug 2013 01:07, "justin" <nginx-forum at nginx.us> wrote:
> J,
> The "HOST" http-header is correct, I am just wondering if I can modify or
> prevent the raw regular expression being exposed in

Why? The only meaningful information it could hold would be the same as
that passed via the Host header. You already have that information. Just
use the Host header.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130804/e91ef0dc/attachment.html>

More information about the nginx mailing list