Beginner questions about proxy configuration and white space
magicbear
nginx-forum at nginx.us
Thu Sep 8 17:28:12 UTC 2011
proxy:
server {
listen some_ip:some_port default;
location / {
add_header X-h1 h1;
add_header X-h2 "h2 h2";
add_header X-h3 h3;
add_header X-h4 h4;
add_header X-h5 h5;
add_header X-h6 "h6 h6";
add_header X-h7 h7;
proxy_pass http://backend;
}
}
space: add a double quotes
add_header X-h2 "h2 h2";
MagicBear
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,214982,214984#msg-214984
More information about the nginx
mailing list