Update zammad_ssl.conf
Use return 301 instead of rewrite.
This commit is contained in:
parent
f74bcdda5b
commit
f19b14f31f
1 changed files with 2 additions and 3 deletions
|
@ -28,9 +28,8 @@ server {
|
||||||
root /var/www/html;
|
root /var/www/html;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
return 301 https://example.com$request_uri;
|
||||||
rewrite ^/(.*)$ https://example.com/$1 permanent;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue