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;
|
||||
}
|
||||
|
||||
location / {
|
||||
rewrite ^/(.*)$ https://example.com/$1 permanent;
|
||||
}
|
||||
return 301 https://example.com$request_uri;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue