django-template/nginx.conf
Andros Fenollosa 5f1f9de569 add
2024-08-31 14:53:30 +02:00

25 lines
447 B
Nginx Configuration File

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