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;