enable django daemon mode
This commit is contained in:
parent
0266686fdd
commit
019427d00b
|
@ -1,6 +1,3 @@
|
|||
WSGIScriptAlias / /vagrant/django/webshop/webshop/wsgi.py
|
||||
WSGIPythonPath /vagrant/django/webshop/
|
||||
|
||||
<VirtualHost *:80>
|
||||
# The ServerName directive sets the request scheme, hostname and port that
|
||||
# the server uses to identify itself. This is used when creating
|
||||
|
@ -23,13 +20,17 @@ WSGIPythonPath /vagrant/django/webshop/
|
|||
</Directory>
|
||||
|
||||
|
||||
<Directory /vagrant/django/webshop/media>
|
||||
Require all granted
|
||||
</Directory>
|
||||
<Directory /vagrant/django/webshop/media>
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<Directory /vagrant/django/webshop/static>
|
||||
Require all granted
|
||||
</Directory>
|
||||
WSGIScriptAlias / /vagrant/django/webshop/webshop/wsgi.py
|
||||
WSGIDaemonProcess webshop python-path=/vagrant/django/webshop processes=2 threads=15 display-name=%{GROUP}
|
||||
WSGIProcessGroup webshop
|
||||
|
||||
<Directory /vagrant/django/webshop/static>
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
|
||||
# error, crit, alert, emerg.
|
||||
|
|
Loading…
Reference in New Issue