diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2021-10-14 17:01:23 -0400 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2021-10-14 17:01:23 -0400 |
| commit | 067f8f92b568527e94e2a04fa495f86f1820a4bc (patch) | |
| tree | e641dd94a99ab433f9a2a245c85d9b16a7aa0fed /nginx.conf | |
| parent | 5369537388a3239f3f19080053fcdab6ad9b95eb (diff) | |
| download | dispatch-tracker-067f8f92b568527e94e2a04fa495f86f1820a4bc.tar.gz dispatch-tracker-067f8f92b568527e94e2a04fa495f86f1820a4bc.tar.xz | |
Move to environment vars. Create a container that sets up a demo.
Instead of the old method with scripts, docker-compose file, everything
is pulled into the main container with various configuration options
allowed from environment variables.
Also move settings.py away from the old yaml setup and pull directly
from the environment instead.
Diffstat (limited to 'nginx.conf')
| -rw-r--r-- | nginx.conf | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index 38b31df..0000000 --- a/nginx.conf +++ /dev/null @@ -1,55 +0,0 @@ -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; - } - - # Pass through the static directory - # This should match whatever is in your config file - location /static { - alias /var/www; - } - location /robots.txt { - alias /var/www/static/robots.txt; - } - - - # Optionally change the log path. - # access_log /var/log/nginx/dispatch.example.com/access.log; - # error_log /var/log/nginx/dispatch.example.com/error.log; - - } - - include conf.d/*.conf; - -} - |
