1234567891011121314151617181920212223242526272829303132333435 |
- ## user www www; ## Default: nobody
- ## worker_processes 5; ## Default: 1
- daemon off;
- error_log logs/error.log;
- pid logs/nginx.pid;
- worker_rlimit_nofile 8192;
- events {
- worker_connections 4096; ## Default: 1024
- }
- http {
- include build/conf/mime.types;
- index index.html;
- default_type application/octet-stream;
- log_format main '$remote_addr - $remote_user [$time_local] $status '
- '"$request" $body_bytes_sent "$http_referer" '
- '"$http_user_agent" "$http_x_forwarded_for"';
- access_log logs/access.log main;
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
- keepalive_timeout 65;
- types_hash_max_size 2048;
- server {
- listen $(HOST):$(PORT);
- server_name $(HOST);
- root html;
- location / {
- }
- }
- }
|