summaryrefslogtreecommitdiffstats
path: root/conductor/examples/nginx/nginx.conf
diff options
context:
space:
mode:
authorrl001m <ruilu@research.att.com>2017-12-17 09:04:31 -0500
committerrl001m <ruilu@research.att.com>2017-12-17 09:05:11 -0500
commit710d958a29198b6633236c1b7cad12babfe46833 (patch)
tree5819d23e6a3b9d4e111b3debaf41ee7fe7731a78 /conductor/examples/nginx/nginx.conf
parent22cff5d3b51d9aa2d4fd11f657264e41063add1c (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/nginx/nginx.conf')
-rw-r--r--conductor/examples/nginx/nginx.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/conductor/examples/nginx/nginx.conf b/conductor/examples/nginx/nginx.conf
new file mode 100644
index 0000000..90f78c9
--- /dev/null
+++ b/conductor/examples/nginx/nginx.conf
@@ -0,0 +1,15 @@
+# This is an example nginx configuration file for using the
+# conductor API through uWSGI. Include the "server" section
+# within the broader "http" configuration.
+
+http {
+ server {
+ listen 8091;
+ server_name CONDUCTOR_API_FQDN;
+
+ location / {
+ include uwsgi_params;
+ uwsgi_pass unix:/tmp/uwsgi.sock;
+ }
+ }
+}