nginx: Add optional patch for syslog support.
close #1055.