Thanks for your help!
I'm able to serve the static files for
nektra.dev/admin with nginx now, so the admin works.
But --pythonpath doesn't work in the gunicorn.conf file:
exec nektra_coinfabrik_env/bin/gunicorn --pythonpath="/home/david/nektra_coinfabrik/nektra_coinfabrik," --workers 3 --bind unix:/home/david/nektra_coinfabrik/nektra_coinfabrik.sock nektra_coinfabrik.wsgi:application
(I tried also --pythonpath /home/david/nektra_coinfabrik/nektra_coinfabrik)
I can start gunicorn with:
and
gunicorn --bind unix:/home/david/nektra_coinfabrik/nektra_coinfabrik.sock nektra_coinfabrik.wsgi:application
Then
nektra.dev works but
coinfabrik.dev doesn't display the theme of coinfabrik as it should, it displays the theme of nektra, too.
I tried with settings such as:
settings.py:
ALLOWED_HOSTS = [
'coinfabrik.dev.',
# "localhost:8000"
"*",
]
HOST_THEMES = [
# ('localhost:8000', 'coinfabrik')
]
nginx:
server {
listen 80;
location / {
include proxy_params;
# proxy_pass http://unix:/home/david/nektra_coinfabrik/nektra_coinfabrik.sock;
}
}
What am I missing?