29 lines
777 B
Plaintext
29 lines
777 B
Plaintext
WSGISocketPrefix /var/run/wsgi
|
|
<VirtualHost 127.0.0.1:8080>
|
|
|
|
ServerName ckan.d4science.org
|
|
ServerAlias ckan-*.d4science.org
|
|
WSGIScriptAlias / /etc/ckan/default/apache.wsgi
|
|
|
|
# pass authorization info on (needed for rest api)
|
|
WSGIPassAuthorization On
|
|
|
|
# Deploy as a daemon (avoids conflicts between CKAN instances)
|
|
WSGIDaemonProcess ckan_default display-name=ckan_default processes=2 threads=15
|
|
|
|
WSGIProcessGroup ckan_default
|
|
ErrorLog /var/log/apache2/ckan_default.error.log
|
|
CustomLog /var/log/apache2/ckan_default.custom.log combined
|
|
|
|
<IfModule mod_rpaf.c>
|
|
RPAFenable On
|
|
RPAFsethostname On
|
|
RPAFproxy_ips 127.0.0.1
|
|
</IfModule>
|
|
|
|
<Directory />
|
|
Require all granted
|
|
</Directory>
|
|
</VirtualHost>
|
|
|