I've got an nginx config stanza that looks like:
server {
listen *:80;
server_name domain1.com domain2.com domain3.com domain4.com .... domainN.com;
rewrite ^(.*) http://my_canonical_domain.com permanent;
}
with lots of different domains. Is there some way to break this up over multiple lines? I don't see anything in the nginx config docs which address this.