Revert "enable django daemon mode"

This reverts commit 019427d00b.
This commit is contained in:
Andreas Zweili 2017-11-13 21:27:01 +01:00
parent 484df9fc25
commit 492e67666b
1 changed files with 12 additions and 13 deletions

View File

@ -1,3 +1,6 @@
WSGIScriptAlias / /vagrant/django/webshop/webshop/wsgi.py
WSGIPythonPath /vagrant/django/webshop/
<VirtualHost *:80> <VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that # The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating # the server uses to identify itself. This is used when creating
@ -10,27 +13,23 @@
ServerAdmin webmaster@localhost ServerAdmin webmaster@localhost
Alias /media/ /vagrant/django/didgeridoo/media/ Alias /media/ /vagrant/django/webshop/media/
Alias /static/ /vagrant/django/didgeridoo/static/ Alias /static/ /vagrant/django/webshop/static/
<Directory /vagrant/django/didgeridoo/didgeridoo> <Directory /vagrant/django/webshop/webshop>
<Files wsgi.py> <Files wsgi.py>
Require all granted Require all granted
</Files> </Files>
</Directory> </Directory>
<Directory /vagrant/django/didgeridoo/media> <Directory /vagrant/django/webshop/media>
Require all granted Require all granted
</Directory> </Directory>
<Directory /vagrant/django/didgeridoo/static>
Require all granted
</Directory>
WSGIScriptAlias / /vagrant/django/didgeridoo/didgeridoo/wsgi.py
WSGIDaemonProcess didgeridoo python-path=/vagrant/django/didgeridoo processes=2 threads=15 display-name=%{GROUP}
WSGIProcessGroup didgeridoo
<Directory /vagrant/django/webshop/static>
Require all granted
</Directory>
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg. # error, crit, alert, emerg.