Now I tried first experiments but I get an error message:
nginx: [emerg] unknown directive "stream" in /etc/nginx/sites-enabled/...
here is the configuration file I tried:
========================================================
stream {
error_log /var/log/nginx/rdp-ssl-error.log;
access_log /var/log/nginx/rdp-ssl-access.log;
upstream backend {
hash $remote_addr consistent;
server 192.168.0.1:443;
}
server {
listen 443 so_keepalive=on;
server_name rdp.test.local;
proxy_connect_timeout 300s;
proxy_timeout 300s;
proxy_pass backend;
}
}
========================================================
Is there anything wrong in my config file or is my nginx installation wrong (installed on debian 8.1.0 x64 via "apt-get install nginx") ?
nginx: [emerg] unknown directive "stream" in /etc/nginx/sites-enabled/...
here is the configuration file I tried:
========================================================
stream {
error_log /var/log/nginx/rdp-ssl-error.log;
access_log /var/log/nginx/rdp-ssl-access.log;
upstream backend {
hash $remote_addr consistent;
server 192.168.0.1:443;
}
server {
listen 443 so_keepalive=on;
server_name rdp.test.local;
proxy_connect_timeout 300s;
proxy_timeout 300s;
proxy_pass backend;
}
}
========================================================
Is there anything wrong in my config file or is my nginx installation wrong (installed on debian 8.1.0 x64 via "apt-get install nginx") ?