diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1c49075..1b3ea4d 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -5,13 +5,8 @@ on: push: branches: - 'main' - - 'staging' tags: - 'v*' - pull_request: - branches: - - 'main' - - 'staging' jobs: build: diff --git a/docker/nginx.prod.conf b/docker/nginx.prod.conf index a90ca9a..5308666 100644 --- a/docker/nginx.prod.conf +++ b/docker/nginx.prod.conf @@ -18,11 +18,13 @@ http { alias /usr/share/nginx/html/static/; # The nginx container's mounted volume. expires 30d; add_header Cache-Control public; + include /etc/nginx/mime.types; } # Serve user uploaded files location /silo/ { alias /usr/share/nginx/html/silo/; # The container's mounted volume. + include /etc/nginx/mime.types; } # Proxy requests to the Django app running in gunicorn