Difference between revisions of "Server name"

From wikieduonline
Jump to navigation Jump to search
 
Line 10: Line 10:
 
     [[listen]]      80;
 
     [[listen]]      80;
 
     server_name  ~^(?<name>.+)\.example\.com$;
 
     server_name  ~^(?<name>.+)\.example\.com$;
     [[return]]      301 http://example.com/$name$request_uri;
+
     [[return]]      301 http://example.com/$name$[[request_uri]];
 
  }
 
  }
  

Latest revision as of 17:49, 26 August 2021

Advertising: