user http; worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; tcp_nodelay on; tcp_nopush on; keepalive_timeout 65; types_hash_max_size 4096; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log warn; gzip on; gzip_disable "msie6"; include /etc/nginx/conf.d/*.conf; server { listen 80 default_server; server_name _; return 301 https://$host$request_uri; } }