mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-23 07:11:36 +01:00
Merge pull request #6122 from sheeprine/fix_nginx_http_redirect
Send 308 status on redirect from http to https
This commit is contained in:
commit
4e73921f9a
@ -141,6 +141,6 @@ http {
|
||||
server {
|
||||
listen 80;
|
||||
#server_name harbordomain.com;
|
||||
return 301 https://$$host$$request_uri;
|
||||
return 308 https://$$host$$request_uri;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user