# Apache WSGI ile Django projesini SSL ile yayınlamak

https://my.sunucumweb.com/bilgi-bankasi/makale/apache-wsgi-ile-django-projesini-ssl-ile-yayinlamak

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.bizServerAlias www.projeadi.biz
```

```
SSLEngine onSSLCertificateFile /etc/letsencrypt/live/projeadi.biz/fullchain.pemSSLCertificateKeyFile /etc/letsencrypt/live/projeadi.biz/privkey.pem
```

```
WSGIScriptAlias / /home/muslu/django/projeadi/projeadi/wsgi.pyWSGIDaemonProcess projeadi python-path=/usr/local/lib/python3.6/dist-packages/:/home/muslu/django/projeadiWSGIProcessGroup projeadiWSGIApplicationGroup %{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>
```
