Hacker News new | ask | show | jobs
by Lockyy 1781 days ago
I love postgres.app, such a great solution. It always bothered me though that https://postgres.app would just 404 whenever I'd go to look up the docs or go to install on a new machine.

Hopefully a few other people have had their lives made a tiny bit easier by the redirect I set up.

1 comments

That's really nice of you, thanks!
[see reply]~~~I'm sure it's done with the best of intentions, but, alternatively, it's squatting, MITMing, etc. and the server should probably be rejecting requests not for the official 'postgresapp.com' hostname?

(Maybe there's not really any attack here - though downloads? - but imagine 'pay.pal' or something. AFAIK servers should be configured only to permit intended hosts, they allow '*' but I don't know when that's what you want?)~~~

I'm not sure if it's changed since you commented, but it's just redirecting the URL to https://postgresapp.com for me.
That makes a lot more sense and I don't know why I thought otherwise! Ha, thanks/sorry.
I wanted to be sure here that there wasn't any room for confusion which is why I just had it redirect anyone who hit the domain to the correct url.