Answer the question
In order to leave comments, you need to log in
How to set up nginx proxy for IIS?
Good time of the day. the network has 3 servers with different domain names (domain-a.firm.ru, domain-b.firm.ru, domain-c.firm.ru). All 3 hang on port 80. All 3 must be posted on the Internet. The router does not allow you to register 3 ip in the same port with the same port, so it was decided to raise a proxy based on nginx.
proxy_pass http://мой ип:80;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question