fix: nginx sse in reverse proxy
This commit is contained in:
@@ -110,6 +110,11 @@
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${toString cfg.port}";
|
||||
};
|
||||
extraConfig = ''
|
||||
# check http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive
|
||||
proxy_set_header Connection "";
|
||||
proxy_http_version 1.1;
|
||||
'';
|
||||
};
|
||||
};
|
||||
services.redis.servers.${pname} = {
|
||||
|
||||
Reference in New Issue
Block a user