Fix os import and add media settings

This commit is contained in:
ack
2026-01-21 04:05:16 +03:00
parent 74ef625c88
commit bc93f9576b
3 changed files with 39 additions and 6 deletions

18
default.conf Normal file
View File

@@ -0,0 +1,18 @@
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://web:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
location /static/ {
alias /app/staticfiles/;
}
location /media/ {
alias /app/media/;
}
}