Update zammad_ssl.conf

Use return 301 instead of rewrite.
This commit is contained in:
Vaibhav Maheshwari 2018-10-08 02:04:32 +05:30 committed by GitHub
parent f74bcdda5b
commit f19b14f31f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
} }