summaryrefslogtreecommitdiffstats
path: root/dcaedftool/nginx.conf
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2018-07-12 17:17:34 -0400
committerMichael Hwang <mhwang@research.att.com>2018-07-26 15:47:57 -0400
commitd2a9bf7db4e21e5e87ea98efd2d63ef225830d75 (patch)
tree14668f20da133cbb4f4666e08c45030af292313d /dcaedftool/nginx.conf
parent1d40112c568c989e8947b2ac6c89b2cef7b6dd5c (diff)
Add code for data format webtool
Commit is on behalf of Ralph Knag Change-Id: I9bd4cc3c6949ec8b44fe081bb98c0027d90e24c5 Issue-ID: DCAEGEN2-615 Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'dcaedftool/nginx.conf')
-rw-r--r--dcaedftool/nginx.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/dcaedftool/nginx.conf b/dcaedftool/nginx.conf
new file mode 100644
index 0000000..8bc6c62
--- /dev/null
+++ b/dcaedftool/nginx.conf
@@ -0,0 +1,23 @@
+worker_processes 1;
+
+events {
+ worker_connections 1024;
+}
+
+http {
+ include mime.types;
+ default_type application/octet-stream;
+
+ sendfile on;
+
+ keepalive_timeout 65;
+
+ server {
+ listen 80;
+ root /usr/share/nginx/html;
+ index index.html index.htm;
+ location / {
+ try_files $uri $uri/ /index.html =404;
+ }
+ }
+}