skip to Main Content

Django static files are saved recursively creating bloat via collectstatic – Nginx

When running collectstatic on my production system, it seems like a bunch of files is stored recursively e.g. (real example): 'production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/production/css/lib/nestable/nestable.css' This causes bloat every time I update my static files (which is necessary when I update any javascript for…

VIEW QUESTION

Running multiple express apps through nginx showing port already in use

Here's my nginx file: server { server_name domain.net www.domain.net; location / { proxy_set_header X-Real-IP $remote_addr; proxy_pass http://localhost:3000; } listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/domain.net/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/domain.net/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; #…

VIEW QUESTION
Back To Top
Search