mirror of
https://github.com/cheikh2shift/godex.git
synced 2026-10-19 01:29:53 -05:00
23 lines
498 B
Nginx Configuration File
23 lines
498 B
Nginx Configuration File
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
error_log /dev/stderr info;
|
|
server {
|
|
listen 11434;
|
|
|
|
location / {
|
|
proxy_pass http://host.docker.internal:11434;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header Connection "";
|
|
proxy_buffering off;
|
|
|
|
# Ollama streaming support
|
|
proxy_cache off;
|
|
chunked_transfer_encoding on;
|
|
}
|
|
}
|
|
}
|