blank lines in config

Frank Liu gfrankliu at
Fri May 18 06:46:14 UTC 2018

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list