ollama如何让外网可以访问?之前一直只能通过http://localhost:11434/v1/chat/completions
如果服务器有公网ip,如果在本地连接公网ip进行调用ollama的api?
网友回复
使用nginx反向代理即可
server { listen 80; server_name your_domain_or_ip; location /v1/chat/completions { proxy_pass h...
点击查看剩余70%
ollama如何让外网可以访问?之前一直只能通过http://localhost:11434/v1/chat/completions
如果服务器有公网ip,如果在本地连接公网ip进行调用ollama的api?
网友回复
使用nginx反向代理即可
server { listen 80; server_name your_domain_or_ip; location /v1/chat/completions { proxy_pass h...
点击查看剩余70%