blank lines in config

Frank Liu gfrankliu at gmail.com
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


Thanks!
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180517/5c04f3d7/attachment.html>


More information about the nginx mailing list