summaryrefslogtreecommitdiffstats
path: root/dcaedftool/nginx.conf
diff options
context:
space:
mode:
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;
+ }
+ }
+}