dbfdg # www. to non-www if ($host ~ ^www\.(?.+)$) { return 301 $scheme://$domain$request_uri; }