Fix os import and add media settings 3

This commit is contained in:
ack
2026-01-21 04:22:44 +03:00
parent 385cebeed0
commit e57a05ccf5
2 changed files with 5 additions and 15 deletions

18
nginx/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/;
}
}