5 lines
232 B
Text
5 lines
232 B
Text
# This is the inverse of root-to-www.conf. It assumes the primary server_name
|
|
# is already the apex host and only strips a single leading www. label.
|
|
if ($host = www.$server_name) {
|
|
return 307 $scheme://$server_name$request_uri;
|
|
}
|