summaryrefslogtreecommitdiffstats
path: root/conductor/examples/apache2/conductor.conf
blob: c882555d136c303aceb133e11bd96f4a41421145 (plain)
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
# This is an example Apache2 configuration file for using the
# conductor API through mod_wsgi.

# Note: If you are using a Debian-based system then the paths
# "/var/log/httpd" and "/var/run/httpd" will use "apache2" instead
# of "httpd".
#
# The number of processes and threads is an example only and should
# be adjusted according to local requirements.

Listen 8091

<VirtualHost *:8091>
    WSGIDaemonProcess conductor-api processes=2 threads=10 user=SOMEUSER display-name=%{GROUP}
    WSGIProcessGroup conductor-api
    WSGIScriptAlias / /var/www/conductor/app
    WSGIApplicationGroup %{GLOBAL}
    <IfVersion >= 2.4>
        ErrorLogFormat "%{cu}t %M"
    </IfVersion>
    ErrorLog /var/log/httpd/conductor_error.log
    CustomLog /var/log/httpd/conductor_access.log combined
</VirtualHost>

WSGISocketPrefix /var/run/httpd