init
Some checks failed
CI/CD / Backend & Frontend Checks (push) Has been cancelled
CI/CD / Deploy to Production (push) Has been cancelled

This commit is contained in:
2026-05-18 11:34:07 +03:30
commit 7a8ddeabed
279 changed files with 37390 additions and 0 deletions

26
nginx-static.conf Normal file
View File

@@ -0,0 +1,26 @@
server {
listen 80;
server_name _;
# Django collected static files
location /static/ {
alias /var/www/static/;
access_log off;
expires 30d;
add_header Cache-Control "public";
}
# Django media (user uploads)
location /media/ {
alias /var/www/media/;
access_log off;
expires 7d;
add_header Cache-Control "public";
}
# No dotfiles
location ~ /\. {
deny all;
}
}