forked from victorricardo/fi-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfi-admin.sld.cu.conf
27 lines (23 loc) · 978 Bytes
/
fi-admin.sld.cu.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<VirtualHost *:80>
ServerName fi-admin.sld.cu
Alias /robots.txt /home/fi-admin/bireme/static/robots.txt
Alias /favicon.ico /home/fi-admin/bireme/static/favicon.ico
Alias /static/ /home/fi-admin/bireme/static/
Alias /media/ /home/fi-admin/bireme/media/
<Directory /home/fi-admin/bireme/static>
AllowOverride All
Options Indexes FollowSymLinks MultiViews
Require all granted
</Directory>
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
WSGIDaemonProcess fi-admin user=www-data group=www-data processes=10 threads=50 python-path=/home/fi-admin/env/lib/python2.7/site-packages
WSGIScriptAlias / /home/fi-admin/application.wsgi
<Directory /home/fi-admin/>
WSGIProcessGroup fi-admin
Require all granted
AllowOverride All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/fi-admin.sld.cu-error.log
CustomLog ${APACHE_LOG_DIR}/access-fi-admin.log combined
</VirtualHost>