Difference between revisions of "Subdomain"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
  
  
Subdomain [[redirection]]:
+
[[Subdomain redirection]]
https://stackoverflow.com/questions/45318758/nginx-variable-for-subdomain
+
 
  server {
+
* Free: [[eu.org]]
      [[listen]]      80;
+
 
      [[server_name]]  ~^(?<my[[subdomain]]>.+)\.example\.com$;
 
      [[return]]      301 http://example.com/$mysubdomain$[[request_uri]];
 
  }
 
  
 
== Related terms ==
 
== Related terms ==

Latest revision as of 13:26, 14 February 2024

Advertising: