Stop Discourse leaking its Host IP adress when preloading links/ressources

You can simply set up something like Tinyproxy on a separate host and configure environment variables to use that. Make sure to disable IP header forwarding on Tinyproxy and it might be helpful to exclude Github to ease theme installation as well.

You should be using such a mechanism when Discourse runs, not when it is being built.

2 Likes