From 103d362b6a76f1bc05b038e7e0b68eb5cd37dc26 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Fri, 13 Sep 2019 23:25:19 -0400 Subject: failed experiment with running the demo application entirely inside of a docker container --- etc/nginx/nginx.conf | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 etc/nginx/nginx.conf (limited to 'etc/nginx') diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf new file mode 100644 index 0000000..1235f67 --- /dev/null +++ b/etc/nginx/nginx.conf @@ -0,0 +1,44 @@ +worker_processes 1; + +events { + worker_connections 1024; +} + +http { + include mime.types; + default_type application/octet-stream; + + sendfile on; + #tcp_nopush on; + + #keepalive_timeout 0; + keepalive_timeout 65; + + gzip on; + + server_tokens off; + + server { + listen 80; + listen [::]:80; + server_name localhost; + + location / { + include uwsgi_params; + client_max_body_size 20m; + client_body_timeout 300s; + uwsgi_pass 127.0.0.1:9200; + } + + location /static { + alias /static; + } + location /robots.txt { + alias /static/robots.txt; + } + + } + + include conf.d/*.conf; + +} -- cgit v1.2.3