Welcome! Log In Create A New Profile

Advanced

map or not map?

Anonymous User
March 06, 2014 01:26PM
Hi,

To help with debbuging, I'm adding an header like this (multiple nginx behind a load balancer)
add_header X-Served-By $hostname

$hostname are like 'myserverXX',
how can i put only the XX instead of full $hostname (to put less informations)

Is using map the only solution (i'm looking for a simple regexp)?

Thanks in advance
Etienne

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

map or not map?

Anonymous User March 06, 2014 01:26PM

Re: map or not map?

Jonathan Matthews March 06, 2014 06:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 271
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready