mirror of
https://github.com/Django-LiveView/docs.git
synced 2024-11-10 02:45:42 +01:00
This commit is contained in:
parent
418842bb90
commit
a6a15b50e4
15
nginx.conf
15
nginx.conf
@ -4,16 +4,11 @@ http {
|
|||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
server_name _;
|
server_name _;
|
||||||
|
root /usr/share/nginx/html;
|
||||||
location / {
|
include /etc/nginx/mime.types;
|
||||||
root /usr/share/nginx/html;
|
index index.html;
|
||||||
index index.html;
|
gzip on;
|
||||||
}
|
gzip_disable "msie6";
|
||||||
|
|
||||||
location /img {
|
|
||||||
include /etc/nginx/mime.types;
|
|
||||||
alias /usr/share/nginx/html/img;
|
|
||||||
}
|
|
||||||
|
|
||||||
location = /favicon.ico { access_log off; log_not_found off; }
|
location = /favicon.ico { access_log off; log_not_found off; }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user