optimised models and views

This commit is contained in:
Mohamed Nouffer
2023-05-26 13:56:26 +05:30
parent 3afaa09c68
commit 8dbe673f9e
8 changed files with 224 additions and 156 deletions

View File

@ -33,6 +33,11 @@ http {
alias /app/static/;
}
location /media/ {
alias /app/media/;
}
location / {
proxy_pass http://app:8000;
proxy_set_header Host $host;