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

How to redirect HTTP to different server IP and HTTPS to localhost

$
0
0
Hi Team,

I am new to Nginx and using it with iRedmail. I have port forwarded - 80 and 433 to this Nginx server and I had to do both onto this server IP.

I want to forward any traffic that comes to only www - like WWW.mydomain.com to another server IP on the same LAN.

How can I forward/rewrite in Nginx configuration to achieve this?

Awaiting your reply.

Mathew

Viewing all articles
Browse latest Browse all 4759

Trending Articles



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