Skip to content

Instantly share code, notes, and snippets.

@nebaskov
nebaskov / nginx.conf
Last active October 12, 2025 10:22
Nginx proxy configuration for LLM providers API. Setup the proxy on remote server and source the config. Set LLM library API_URL=<server ip>/<location name> to access the API.
user nginx;
pid /run/nginx.pid;
worker_processes auto;
worker_rlimit_nofile 65535;
events {
multi_accept on;
worker_connections 65535;
}