OK. For others who might face the same issue and try to solve it (and fail) by reading Django documents:
WSGIDaemonProcess omidshojaee python-home=/home/omid/websites/omidshojaee.com/venv python-path=/home/omid/websites/omidshojaee.com
WSGIProcessGroup omidshojaee
WSGIScriptAlias / /home/omid/websites/omidshojaee.com/website/wsgi.py
Must be outside <VirtualHost> ... </VirtualHost>
block of Apache config file, otherwise certbot
rewrite (from http
to https
) does not work.
My Django project is up and running.