Merge pull request #820 from nemec/patch-1
Send proper protocol to Django from Nginx
This commit is contained in:
@ -129,6 +129,7 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_pass http://unix:/var/www/recipes/recipes.sock;
|
proxy_pass http://unix:/var/www/recipes/recipes.sock;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user