Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
} # SSH server { listen 22 reuseport; proxy_pass 10.228.228.2:22; }
user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { worker_connections 2768; # multi_accept on; } stream { log_format basic '$remote_addr:$remote_port - $time_local ' '$protocol stat:$status bs:$bytes_sent br:$bytes_received ' st:'$session_time'; # SSH server { listen 2022 reuseport; proxy_pass 10.228.228.2:2022; } # HTTP server { listen 80 reuseport; proxy_pass 10.228.228.2:80; } # Node server { listen 8080 reuseport; proxy_pass 10.228.228.2:8080; } # server minecraft java server { listen 25565 reuseport; proxy_pass 10.228.228.2:25565; proxy_protocol on; } # server minecraft java server { listen 25570 reuseport; proxy_pass 10.228.228.2:25570; proxy_protocol on; } # server minecraft java server { listen 27002 reuseport; proxy_pass 10.228.228.2:27002; } # server minecraft java server { listen 25566 reuseport; proxy_pass 10.228.228.2:25566; proxy_protocol on; } # server minecraft java server { listen 25665 reuseport; proxy_pass 10.228.228.2:25665; proxy_protocol on; } # server minecraft java server { listen 25765 reuseport; proxy_pass 10.228.228.2:25765; proxy_protocol on; } }