user http; worker_processes 1; error_log logs/error.log; #pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; # the file with mapping username per port include /etc/nginx/conf/map_user2port.conf; #or only #include map_user2port.conf # Servers configurations ... include server.conf.example; } }