feat: один прод-compose со всеми моделями из готовых образов
This commit is contained in:
parent
c3fc1cec79
commit
a694702d8f
44 changed files with 1126 additions and 2075 deletions
|
|
@ -29,6 +29,20 @@ server {
|
|||
proxy_read_timeout 75s;
|
||||
}
|
||||
|
||||
# SIP over WebSocket для встроенного WebRTC-телефона. Переменная и
|
||||
# Docker DNS позволяют фронту стартовать даже до sip-сервиса.
|
||||
location = /sip-ws {
|
||||
resolver 127.0.0.11 ipv6=off valid=10s;
|
||||
set $sip_backend sip;
|
||||
proxy_pass http://$sip_backend:8088/ws;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_read_timeout 3600s;
|
||||
proxy_send_timeout 3600s;
|
||||
}
|
||||
|
||||
location ~* \.(?:css|js|woff2?|png|svg)$ {
|
||||
try_files $uri =404;
|
||||
expires 1y;
|
||||
|
|
|
|||
Loading…
Reference in a new issue