Add an nginx proxy service with consul template with the objective of
consolidating all the voltha web UIs on a single port on the host.
This update includes the first UI, portainer. Additional UIs will be
added in subsequent updates. The configuration files are currently
mounted into the container. This is temporary to simplify the
development and addition of other UIs to the proxy configuration. Once
all UIs have been added, the configuration will be copied into the
container.
Change-Id: I218c486b56a627995981489602ab44ae0edf0930
diff --git a/nginx_config/uwsgi_params.default b/nginx_config/uwsgi_params.default
new file mode 100644
index 0000000..09c732c
--- /dev/null
+++ b/nginx_config/uwsgi_params.default
@@ -0,0 +1,17 @@
+
+uwsgi_param QUERY_STRING $query_string;
+uwsgi_param REQUEST_METHOD $request_method;
+uwsgi_param CONTENT_TYPE $content_type;
+uwsgi_param CONTENT_LENGTH $content_length;
+
+uwsgi_param REQUEST_URI $request_uri;
+uwsgi_param PATH_INFO $document_uri;
+uwsgi_param DOCUMENT_ROOT $document_root;
+uwsgi_param SERVER_PROTOCOL $server_protocol;
+uwsgi_param REQUEST_SCHEME $scheme;
+uwsgi_param HTTPS $https if_not_empty;
+
+uwsgi_param REMOTE_ADDR $remote_addr;
+uwsgi_param REMOTE_PORT $remote_port;
+uwsgi_param SERVER_PORT $server_port;
+uwsgi_param SERVER_NAME $server_name;