From c49d9e0d69685d022fa6ffaa04f91bbe46f67551 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Wed, 27 Mar 2019 23:06:36 -0400 Subject: Fully dockerized environment --- nginx.conf | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 nginx.conf (limited to 'nginx.conf') diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..6f9fafa --- /dev/null +++ b/nginx.conf @@ -0,0 +1,48 @@ +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; + listen 8000; + listen [::]:8000; + server_name localhost; + + location / { + include uwsgi_params; + client_max_body_size 20m; + client_body_timeout 300s; + uwsgi_pass app:9200; + } + + location /static { + alias /var/www; + } + location /robots.txt { + alias /var/www/static/robots.txt; + } + + } + + include conf.d/*.conf; + +} + -- cgit v1.2.3