mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-07 00:15:10 +01:00
30 lines
846 B
Plaintext
30 lines
846 B
Plaintext
<VirtualHost *:80>
|
|
ServerAdmin webmaster@example.com
|
|
ServerName marks.example.com
|
|
|
|
WSGIDaemonProcess digimarks user=youruser group=youruser threads=5 python-path=/srv/marks.example.com/digimarks/
|
|
WSGIScriptAlias / /srv/marks.example.com/digimarks/wsgi.py
|
|
|
|
<Directory /srv/marks.example.com/digimarks>
|
|
WSGIProcessGroup digimarks
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
Require all granted
|
|
</Directory>
|
|
|
|
<Directory /srv/marks.example.com/digimarks>
|
|
<Files wsgi.py>
|
|
Require all granted
|
|
</Files>
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/apache2/error_marks.example.com.log
|
|
|
|
# Possible values include: debug, info, notice, warn, error, crit,
|
|
# alert, emerg.
|
|
LogLevel warn
|
|
|
|
CustomLog /var/log/apache2/access_marks.example.com.log combined
|
|
ServerSignature On
|
|
|
|
</VirtualHost>
|