From 710d958a29198b6633236c1b7cad12babfe46833 Mon Sep 17 00:00:00 2001 From: rl001m Date: Sun, 17 Dec 2017 09:04:31 -0500 Subject: Added all common modules in conductor directory Added the common modules used by all the other components of Homing Optimizer. Change-Id: I6e8a991b54ef422da66b3174f27f6998731ec188 Issue-ID: OPTFRA-11 Signed-off-by: rl001m --- conductor/examples/apache2/conductor.conf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 conductor/examples/apache2/conductor.conf (limited to 'conductor/examples/apache2') 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 + + + WSGIDaemonProcess conductor-api processes=2 threads=10 user=SOMEUSER display-name=%{GROUP} + WSGIProcessGroup conductor-api + WSGIScriptAlias / /var/www/conductor/app + WSGIApplicationGroup %{GLOBAL} + = 2.4> + ErrorLogFormat "%{cu}t %M" + + ErrorLog /var/log/httpd/conductor_error.log + CustomLog /var/log/httpd/conductor_access.log combined + + +WSGISocketPrefix /var/run/httpd \ No newline at end of file -- cgit 1.2.3-korg