Tandoor: Fix images not loading.
This commit is contained in:
parent
bf02d9aeef
commit
02e466e971
|
@ -3,5 +3,8 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
address = "[::1]";
|
address = "[::1]";
|
||||||
port = 33122;
|
port = 33122;
|
||||||
|
extraConfig = {
|
||||||
|
GUNICORN_MEDIA = 1;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,10 @@
|
||||||
deny all;
|
deny all;
|
||||||
|
|
||||||
proxy_pass http://[::1]:33122$request_uri;
|
proxy_pass http://[::1]:33122$request_uri;
|
||||||
|
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
}
|
}
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/voronind.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/voronind.com/fullchain.pem;
|
||||||
|
|
Loading…
Reference in a new issue