diff options
author | 2017-12-17 09:04:31 -0500 | |
---|---|---|
committer | 2017-12-17 09:05:11 -0500 | |
commit | 710d958a29198b6633236c1b7cad12babfe46833 (patch) | |
tree | 5819d23e6a3b9d4e111b3debaf41ee7fe7731a78 /conductor/examples/apache2 | |
parent | 22cff5d3b51d9aa2d4fd11f657264e41063add1c (diff) |
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 <ruilu@research.att.com>
Diffstat (limited to 'conductor/examples/apache2')
-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 |