Welcome! Log In Create A New Profile

Advanced

blank lines in config

Posted by Frank Liu 
Frank Liu
blank lines in config
May 18, 2018 08:50AM
Should nginx ignore those blank lines (lines with spaces only) in config?

I tried below in the config of nginx 1.14.0:

server {
....

set $testvar1 "testval1";
.... 300 blank lines, each with 20 spaces ...
set $testvar2 "testval2";

....
}

nginx configtest says:
nginx: [emerg] too long parameter "
...." started in


Thanks!
Frank
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Sorry, only registered users may post in this forum.

Click here to login