Merge pull request #820 from nemec/patch-1

Send proper protocol to Django from Nginx
This commit is contained in:
vabene1111
2021-08-21 11:55:07 +02:00
committed by GitHub

View File

@ -129,6 +129,7 @@ server {
location / {
proxy_set_header Host $http_host;
proxy_pass http://unix:/var/www/recipes/recipes.sock;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
```