Apache üzerinde WSGI modülü ile Django projesini SSL ile yayınlamak için örnek Apache conf ayarları
<VirtualHost *:443>
DocumentRoot "/home/muslu/django/projeadi/"
ServerName projeadi.biz
ServerAlias www.projeadi.bizSSLEngine on
SSLCertificateFile /etc/letsencrypt/live/projeadi.biz/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/projeadi.biz/privkey.pemWSGIScriptAlias / /home/muslu/django/projeadi/projeadi/wsgi.py
WSGIDaemonProcess projeadi python-path=/usr/local/lib/python3.6/dist-packages/:/home/muslu/django/projeadi
WSGIProcessGroup projeadi
WSGIApplicationGroup %{GLOBAL}ErrorLog /home/muslu/django/projeadi/error.log<Directory /home/muslu/django/projeadi/>
Require all granted
</Directory><Directory /home/muslu/django/projeadi/projeadi/>
<Files wsgi.py>
Require all granted
</Files>
</Directory>Alias /static /home/muslu/django/projeadi/static/
<Directory /home/muslu/django/projeadi/static/>
Require all granted
</Directory></VirtualHost>
Django
hakkında diğer konular