|
@@ -81,6 +81,33 @@ services:
|
|
|
# secouch.algometic.com->http://192.168.1.124:5123 #production,
|
|
# secouch.algometic.com->http://192.168.1.124:5123 #production,
|
|
|
# nc2022code.algometic.com->http://192.168.1.124:9982 #production,
|
|
# nc2022code.algometic.com->http://192.168.1.124:9982 #production,
|
|
|
# nc2022.algometic.com->http://192.168.1.124:1236 #production,
|
|
# nc2022.algometic.com->http://192.168.1.124:1236 #production,
|
|
|
|
|
+# bellabee.ai->http://192.168.1.119:4321 #production,
|
|
|
|
|
+# chat.algometic.com->http://192.168.1.38:3000 #production,
|
|
|
|
|
+
|
|
|
|
|
+ # 1. Enable WebSocket/SSE upgrade headers globally
|
|
|
|
|
+ WEBSOCKET: 'true'
|
|
|
|
|
+
|
|
|
|
|
+ # 2. Inject custom Nginx directives specifically for chat.algometic.com
|
|
|
|
|
+ # (Note: If your domain is actually plural 'chats.algometic.com', change this to CUSTOM_NGINX_CHATS_ALGOMETIC_COM_CONFIG_BLOCK)
|
|
|
|
|
+ CUSTOM_NGINX_CHAT_ALGOMETIC_COM_CONFIG_BLOCK: |
|
|
|
|
|
+ # Disable buffering for SSE streaming
|
|
|
|
|
+ proxy_buffering off;
|
|
|
|
|
+ proxy_request_buffering off;
|
|
|
|
|
+ proxy_cache off;
|
|
|
|
|
+ chunked_transfer_encoding on;
|
|
|
|
|
+ tcp_nodelay on;
|
|
|
|
|
+
|
|
|
|
|
+ # Instruct intermediate proxies not to buffer
|
|
|
|
|
+ add_header X-Accel-Buffering "no" always;
|
|
|
|
|
+ add_header Cache-Control "no-store" always;
|
|
|
|
|
+
|
|
|
|
|
+ # Increase timeouts (LLM generations can take a long time, default 60s is too short)
|
|
|
|
|
+ proxy_connect_timeout 1800;
|
|
|
|
|
+ proxy_send_timeout 1800;
|
|
|
|
|
+ proxy_read_timeout 1800;
|
|
|
|
|
+
|
|
|
|
|
+ # Allow larger file uploads if you attach documents to the chat
|
|
|
|
|
+ client_max_body_size 20M;
|
|
|
|
|
|
|
|
DOMAINS: '
|
|
DOMAINS: '
|
|
|
algometic.com->http://192.168.1.119:8280 #production,
|
|
algometic.com->http://192.168.1.119:8280 #production,
|
|
@@ -98,8 +125,7 @@ services:
|
|
|
wake.algometic.com->http://192.168.1.119:8081 #production,
|
|
wake.algometic.com->http://192.168.1.119:8081 #production,
|
|
|
1984.algometic.com->http://192.168.1.119:1234 #production,
|
|
1984.algometic.com->http://192.168.1.119:1234 #production,
|
|
|
1985.algometic.com->http://192.168.1.119:9980 #production,
|
|
1985.algometic.com->http://192.168.1.119:9980 #production,
|
|
|
- chat.algometic.com->http://192.168.1.118:3000 #production,
|
|
|
|
|
- bellabee.ai->http://192.168.1.119:4321 #production,
|
|
|
|
|
|
|
+ chat.algometic.com->http://192.168.1.38:3000 #production,
|
|
|
'
|
|
'
|
|
|
|
|
|
|
|
|
|
|