This commit is contained in:
Andros Fenollosa 2024-08-31 14:53:30 +02:00
parent 6db5005de2
commit 5f1f9de569

24
nginx.conf Normal file
View File

@ -0,0 +1,24 @@
events {}
http {
server {
listen 80 default_server;
server_name _;
root /usr/share/nginx/html;
include /etc/nginx/mime.types;
index index.html;
gzip on;
gzip_disable "msie6";
location = /favicon.ico { access_log off; log_not_found off; }
# Django
location /static/ {
alias /var/www/static/;
}
location /media/ {
alias /var/www/media/;
}
}
}