Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: reverse proxying exchange 2013, rdp over ssl and sstp vpn

$
0
0
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") ?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>