Welcome! Log In Create A New Profile

Advanced

blank lines in config

Frank Liu
May 18, 2018 02:48AM
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
Subject Author Posted

blank lines in config

Frank Liu May 18, 2018 02:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 181
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