Last active
April 4, 2021 10:26
-
-
Save Dixzz/ef6617e8647b6b7d09b939ee555d2866 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WSGIScriptAlias / /home/${CURRENT_USER}/nssweb/nssweb/wsgi.py | |
#WSGIPythonPath /home/${CURRENT_USER}/nssweb:/home/${CURRENT_USER}/nssweb/venv/lib/python3.8/site-packages | |
#WSGIPythonPath /home/${CURRENT_USER}/nssweb/nssweb/ | |
WSGIPythonHome /home/${CURRENT_USER}/nssweb/venv/ | |
WSGIPythonPath /home/${CURRENT_USER}/nssweb | |
#WSGIPythonPath /home/${CURRENT_USER}/nssweb/venv/bin/python3 | |
WSGIPassAuthorization On | |
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName ediary.nssmu.in | |
ServerAlias ediary.nssmu.in | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
#SSLEngine on | |
#WSGIDaemonProcess django_project python-home=/home/${CURRENT_USER}/nssweb python-path=/home/${CURRENT_USER}/nssweb:/home/${CURRENT_USER}/nssweb/env/lib/python3.8/site-packages | |
#WSGIProcessGroup django_project | |
WSGIScriptAlias / /home/${CURRENT_USER}/nssweb/nssweb/wsgi.py | |
WSGIPassAuthorization On | |
Alias /static /home/${CURRENT_USER}/nssweb/static | |
<Directory /home/${CURRENT_USER}/nssweb/static> | |
Require all granted | |
</Directory> | |
WSGIScriptAlias / /home/${CURRENT_USER}/nssweb/nssweb/wsgi.py | |
Alias /static /home/${CURRENT_USER}/nssweb/media | |
<Directory /home/${CURRENT_USER}/nssweb/media> | |
Require all granted | |
</Directory> | |
WSGIScriptAlias / /home/${CURRENT_USER}/nssweb/nssweb/wsgi.py | |
<Directory /home/${CURRENT_USER}/nssweb/nssweb> | |
<Files wsgi.py> | |
Require all granted | |
</Files> | |
</Directory> | |
#WSGIPythonPath /home/${CURRENT_USER}/nssweb:/home/${CURRENT_USER}/nssweb/env/lib/python3.7/site-packages | |
#WSGIDaemonProcess django_project python-path=/home/${CURRENT_USER}/nssweb python-home=/home/${CURRENT_USER}/nssweb/env/lib/python3.7/site-packages | |
#WSGIProcessGroup django_project | |
#WSGIScriptAlias / /home/${CURRENT_USER}/nssweb/nssweb/wsgi.py | |
#Include /etc/letsencrypt/options-ssl-apache.conf | |
RewriteEngine on | |
RewriteCond %{SERVER_NAME} =ediary.nssmu.in | |
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment