-
-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Hello!
I am using django + nginx + https
if set ROBOTS_USE_SCHEME_IN_HOST = True
I get this result in the robots.txt: Host: http://site.com
But expected: Host: https://site.com
Maybe it happens because of using nginx.
nginx proxies traffic to gunicorn via http
location / {
proxy_pass http://web:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
How i can fix it?
SalahAdDin
Metadata
Metadata
Assignees
Labels
No labels