diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2019-03-27 23:06:36 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2019-03-27 23:06:36 -0400 |
| commit | c49d9e0d69685d022fa6ffaa04f91bbe46f67551 (patch) | |
| tree | 5f100e3f9b70340f2e642de286cda01183b6e5b4 /nginx.conf | |
| parent | 35dddcfc0dc2ded193a6b503f9ff4a5a3cd68439 (diff) | |
| download | dispatch-tracker-c49d9e0d69685d022fa6ffaa04f91bbe46f67551.tar.gz dispatch-tracker-c49d9e0d69685d022fa6ffaa04f91bbe46f67551.tar.xz | |
Fully dockerized environment
Diffstat (limited to 'nginx.conf')
| -rw-r--r-- | nginx.conf | 48 |
1 files changed, 48 insertions, 0 deletions
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; + +} + |
