21 lines
556 B
Text
21 lines
556 B
Text
types_hash_max_size 2048;
|
|
include /usr/local/nginx/conf/mime.types.default;
|
|
|
|
default_type application/octet-stream;
|
|
access_log /var/log/nginx/nginx.access.log;
|
|
sendfile on;
|
|
|
|
gzip on;
|
|
gzip_http_version 1.0;
|
|
gzip_proxied any;
|
|
gzip_min_length 500;
|
|
gzip_disable "MSIE [1-6]\.";
|
|
gzip_types text/plain text/xml text/css
|
|
text/javascript application/x-javascript
|
|
application/octet-stream;
|
|
|
|
upstream app_server {
|
|
server unix:/tmp/gunicorn.sock fail_timeout=0;
|
|
# For a TCP configuration:
|
|
# server 192.168.0.7:8000 fail_timeout=0;
|
|
}
|