mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 05:58:06 +00:00
Fix LNDg over HTTPS
This commit is contained in:
parent
325228d16b
commit
e0f68b24d0
|
@ -32,6 +32,10 @@ sed -i 's|/var/log|/opt/mynode/lndg/logs|g' .venv/supervisord.conf
|
|||
sed -i 's|/var/supervisord.pid|/tmp/supervisord.pid|g' .venv/supervisord.conf
|
||||
sed -i 's|"python|".venv/bin/python|g' .venv/supervisord.conf
|
||||
|
||||
# Patch Django
|
||||
echo "" >> lndg/settings.py
|
||||
echo "SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')" >> lndg/settings.py
|
||||
|
||||
# Load initial data
|
||||
.venv/bin/python jobs.py
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user