trying to fix open-webui websocket request
This commit is contained in:
parent
dda565aed5
commit
3f21912c7d
1 changed files with 9 additions and 0 deletions
|
|
@ -19,6 +19,15 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
forceSSL = ssl;
|
forceSSL = ssl;
|
||||||
|
|
||||||
|
commonHttpConfig = ''
|
||||||
|
map $http_upgrade $connection_upgrade {
|
||||||
|
default upgrade;
|
||||||
|
"" 'close';
|
||||||
|
}
|
||||||
|
access_log syslog:server=unix:/dev/log;
|
||||||
|
'';
|
||||||
|
|
||||||
virtualHosts."_" = {
|
virtualHosts."_" = {
|
||||||
forceSSL = false;
|
forceSSL = false;
|
||||||
locations."/.well-known/acme-challenge/" = {
|
locations."/.well-known/acme-challenge/" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue