postal icon indicating copy to clipboard operation
postal copied to clipboard

How Can I Stop Postal Login Redirection On Additional IPs

Open zeba121 opened this issue 7 years ago • 4 comments

Hello Postal Team,

I want to stop postal login redirection on additional ips.

I want to postal login on main static ip but when we add additional ips on server or add on ip pool. Then they additional ips are redirect on postal login.

Nobody see my postal login with any ips.

So please help me on this how can i stop this.

Thank You Zeba Parveen

zeba121 avatar Nov 23 '19 05:11 zeba121

Its likely that your nginx configuration is set to listen on the default IP addresses: https://github.com/atech/postal/blob/2d9a18f658a0b561381851eaf94ad9d0f9f8c73a/resource/nginx.cfg#L3

You should change this IP address to match the one you wish. If you are unsure, you can use the ip a command to see which IP addresses your server can see.

willpower232 avatar Nov 24 '19 16:11 willpower232

Hello @willpower232 ,

I have configured in postal/resource/nginx.cfg file but it's still. please check this https://pastebin.com/kewqX9t7

and you can also check my server network:- https://pastebin.com/iV75cPYi

My all additional ips redirect on Postal login. https://pastebin.com/kW7nj849

I don't want to login postal on additional Ips.

Thank You

zeba121 avatar Nov 25 '19 06:11 zeba121

Have you made the changes to /etc/nginx/sites-enabled/default and restarted nginx?

The nginx.cfg is a template for the configuration.

willpower232 avatar Nov 25 '19 09:11 willpower232

Thank You @willpower232 its working additional ips are not redirecting on postal. Thanks Again for helping me.

zeba121 avatar Nov 25 '19 11:11 zeba121