Difference between revisions of "Server (Nginx)"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{Draft}} == See also == * {{Nginx}} Category:Nginx")
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Draft}}
+
{{lowercase}}
 +
 
 +
[[Subdomain redirection]]:
 +
  [[server]] {
 +
      [[listen]]      80;
 +
      [[server_name]]  ~^(?<my[[subdomain]]>.+)\.example\.com$;
 +
      [[return]]      301 http://example.com/$mysubdomain$[[request_uri]];
 +
  }
 +
 
  
  
 
== See also ==
 
== See also ==
 +
* {{nginx.conf}}
 
* {{Nginx}}
 
* {{Nginx}}
  
 
[[Category:Nginx]]
 
[[Category:Nginx]]

Latest revision as of 08:56, 25 August 2022

Advertising: