diff options
Diffstat (limited to 'conductor/examples/apache2/conductor.conf')
-rw-r--r-- | conductor/examples/apache2/conductor.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/conductor/examples/apache2/conductor.conf b/conductor/examples/apache2/conductor.conf new file mode 100644 index 0000000..c882555 --- /dev/null +++ b/conductor/examples/apache2/conductor.conf @@ -0,0 +1,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
\ No newline at end of file |