Nginx TCP Proxy & Windows fool-only installation

Source: Internet
Author: User

First, download Nginx Windows

Http://nginx.org/en/download.html

Second, extract to the directory

Third, enter the directory and start Nginx.exe can start

CD d:/java/nginx-1.10

Start Nginx.exe

In Windows Task Manager you can see that the nginx process has two

Enter 127.0.0.1 Access Welcome page

Iv. Configuring the TCP Proxy

#nginx版本1.10

Stream {
Upstream Proxy_name {
# Simple Round-robin
Server 127.0.0.1:8000;
Server 127.0.0.1:8001;
#check interval=3000 rise=2 fall=5 timeout=1000;
}

server {
Listen 8888;

Ssl_certificate Cert.pem;
Ssl_certificate_key Cert.key;
Ssl_session_cache shared:ssl:1m;
Ssl_session_timeout 5m;
Ssl_ciphers high:!anull:! MD5;
Ssl_prefer_server_ciphers on;
Proxy_pass Proxy_name;
}
}

PS Common nginx command

Start

Start Nginx

Stop it

Nginx.exe-s stop

Restart

Nginx.exe-s Reload

Nginx TCP Proxy & Windows fool-only installation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.