From 598ddb7b63a951de9f73cecf3866325073cc021a Mon Sep 17 00:00:00 2001 From: Alec Gorge Date: Fri, 4 Apr 2025 17:01:27 -0700 Subject: [PATCH] add nginx conf --- self-hosting/nginx/nginx.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/self-hosting/nginx/nginx.conf b/self-hosting/nginx/nginx.conf index 7cbc813c0..7a6f8a2ec 100644 --- a/self-hosting/nginx/nginx.conf +++ b/self-hosting/nginx/nginx.conf @@ -14,6 +14,11 @@ http { server 127.0.0.1:4000; } + upstream omnivore_tts { + ip_hash; + server 127.0.0.1:5000; + } + upstream omnivore_imageproxy { ip_hash; server 127.0.0.1:7070; @@ -56,6 +61,12 @@ http { proxy_pass http://omnivore_backend; } + # TTS + location /tts { + rewrite ^/tts(.*)$ /$1 break; + proxy_pass http://omnivore_tts; + } + # Minio location /bucket { proxy_pass http://omnivore_bucket;