fix some typo

1)ngx.arg[1] can't be a table 
2)arg[1] should be ngx.arg[1] 
3)"\n" in nginx.conf should be escaped
4)the semicolon is needed to terminate a line