hosts/library: fix open-webui websockets
Some checks failed
Check flake / build-amd64-linux (push) Failing after 1s
Some checks failed
Check flake / build-amd64-linux (push) Failing after 1s
This commit is contained in:
@@ -32,6 +32,7 @@ in
|
|||||||
OFFLINE_MODE = "True";
|
OFFLINE_MODE = "True";
|
||||||
OPENID_PROVIDER_URL = "https://auth.vimium.com/oauth2/openid/${clientId}/.well-known/openid-configuration";
|
OPENID_PROVIDER_URL = "https://auth.vimium.com/oauth2/openid/${clientId}/.well-known/openid-configuration";
|
||||||
OPENID_REDIRECT_URI = "${publicUrl}/oauth/oidc/callback";
|
OPENID_REDIRECT_URI = "${publicUrl}/oauth/oidc/callback";
|
||||||
|
CORS_ALLOW_ORIGIN = "*";
|
||||||
|
|
||||||
# Fix from https://github.com/NixOS/nixpkgs/pull/431395
|
# Fix from https://github.com/NixOS/nixpkgs/pull/431395
|
||||||
STATIC_DIR = "${stateDir}/static";
|
STATIC_DIR = "${stateDir}/static";
|
||||||
|
|||||||
@@ -121,6 +121,7 @@ in
|
|||||||
|
|
||||||
# Disable proxy buffering for better streaming response from models
|
# Disable proxy buffering for better streaming response from models
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
proxy_cache off;
|
||||||
|
|
||||||
# Increase max request size for large attachments and long audio messages
|
# Increase max request size for large attachments and long audio messages
|
||||||
client_max_body_size 20M;
|
client_max_body_size 20M;
|
||||||
|
|||||||
Reference in New Issue
Block a user