Facebook login not working on production

So this is my developer account:
1
And this happens when I try to login:

If I change it to this:
3
(on my server is running on 3005 port)
I get this error:

You can try this on https://recipic.co (register). Working locally

does anyone have any idea?

i think you need to specify the full URI, including /_oauth/facebook. For my applications i use the following redirect URIs for the Facebook Login and it works just fine:

redirect_uris

I added https://45.76.132.29/_oauth/facebook and https://45.76.132.29:3005/_oauth/facebook and still getting 404 error.

On local I don’t have that url and it works so I think the “_oauth/facebook” is not necessary. The problem looks like a Nginx one but I’m not quite sure why.

Also this url should point to my domain, not to my IP. Any reason?