Merge pull request #6122 from sheeprine/fix_nginx_http_redirect

Send 308 status on redirect from http to https
This commit is contained in:
James Zabala 2018-10-23 20:37:16 -04:00 committed by GitHub
commit 4e73921f9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,6 +141,6 @@ http {
server {
listen 80;
#server_name harbordomain.com;
return 301 https://$$host$$request_uri;
return 308 https://$$host$$request_uri;
}
}