ipvsadm + nginx for rdp
nginx conf
worker_processes 2;
error_log /var/log/nginx/error.log;
events {
worker_connections 16384;
}
stream {
error_log /var/log/nginx/stream_error_rdp.log;
upstream backend{
server 10.0.0.2:443;
# weight=4 max_fails=1; #fail_timeout=20;
}
server{
listen 443;
proxy_pass backend;
}
}
nginx conf
worker_processes 2;
error_log /var/log/nginx/error.log;
events {
worker_connections 16384;
}
stream {
error_log /var/log/nginx/stream_error_rdp.log;
upstream backend{
server 10.0.0.2:443;
# weight=4 max_fails=1; #fail_timeout=20;
}
server{
listen 443;
proxy_pass backend;
}
}
ipvsadm understandable
Комментариев нет:
Отправить комментарий