0

This is part of nginx.conf:

server {
   listen 80 default deferred; # for Linux
   server_name *.server.com.br;
   client_max_body_size 4G;

   # omitted
}

I want to accept without redirecting:

www.server.com.br
server.com.br
google.server.com.br
facebook.server.com.br

How to configure server block?

1

1 Answer 1

7

The documentation shows how to do this:

server_name .server.com.br;

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .