Getting discourse ai to work with ollama locally

That is our default SSRF protection kicking in. You can add exceptions to it via the DISCOURSE_ALLOWED_INTERNAL_HOSTS ENV var.

It triggers when Discourse is trying to reach an IP considered internal.

4 Likes