SörenP
New Pleskian
Hi there,
i'm using https:// for https://www.brammer-automobile.de.
If someone calls www.brammer-automobile.de/subsite it will redirected
to https://www.brammer-automobile.de/subsite
But, if i call https://brammer-automobile.de it will not be redirected to the www. version.
Here is my Nginx configuration:
if ($scheme !~* ^https ){
rewrite ^ https://www.$server_name$request_uri? permanent;
}
i'm using https:// for https://www.brammer-automobile.de.
If someone calls www.brammer-automobile.de/subsite it will redirected
to https://www.brammer-automobile.de/subsite
But, if i call https://brammer-automobile.de it will not be redirected to the www. version.
Here is my Nginx configuration:
if ($scheme !~* ^https ){
rewrite ^ https://www.$server_name$request_uri? permanent;
}