Skip to content

Instantly share code, notes, and snippets.

@rajivmehtaflex
Created May 23, 2024 16:53
Show Gist options
  • Save rajivmehtaflex/68ec880cc1783640e1c23b8cf26d761b to your computer and use it in GitHub Desktop.
Save rajivmehtaflex/68ec880cc1783640e1c23b8cf26d761b to your computer and use it in GitHub Desktop.
How to use cloudeflare with ollama
#https://tcude.net/creating-cloudflare-tunnels-on-ubuntu/
#https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-use-ollama-with-ngrok
#------------------------------------
wget -q https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb
dpkg -i cloudflared-linux-amd64.deb
cloudflared tunnel --url http://localhost:11434 --http-host-header="localhost:11434"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment