add
This commit is contained in:
parent
6db5005de2
commit
5f1f9de569
24
nginx.conf
Normal file
24
nginx.conf
Normal 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/;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user