mirror of
https://github.com/goharbor/harbor
synced 2025-05-18 15:49:02 +00: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…
x
Reference in New Issue
Block a user