Nginx Essentials by Valery Kholodkov (2015-07-01) by Valery Kholodkov;

Nginx Essentials by Valery Kholodkov (2015-07-01) by Valery Kholodkov;

Author:Valery Kholodkov; [Kholodkov;, Valery]
Language: swe
Format: epub
Amazon: B019NRXML4
Publisher: Packt Publishing - ebooks Account
Published: 1656-03-15T00:00:00+00:00


Choosing an outbound IP address

Sometimes, when your proxy server has multiple network interfaces, it becomes necessary to choose which IP address should be used as outbound address for upstream connections. By default, the system will choose the address of the interface that adjoins the network containing the host used as destination in the default route.

To choose a particular IP address for outbound connections, you can use the proxy_bind directive:

location @proxy { proxy_pass https://192.168.0.1; proxy_bind 192.168.0.2; }



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.