nginx return 301 fix
This commit is contained in:
parent
b904cce8b1
commit
1e9776ee82
@ -5,7 +5,7 @@ server {
|
||||
server_name {{ project_domain }};
|
||||
|
||||
# redirect all HTTP requests to HTTPS with a 301 Moved Permanently response.
|
||||
return 301 https://;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
|
Loading…
Reference in New Issue
Block a user