mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add nginx conf
This commit is contained in:
parent
798fc07c50
commit
598ddb7b63
1 changed files with 11 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue