twcloud / tiddlyweb-sse

MIT License
10 stars 3 forks source link

Add X-Accel-Buffering header #2

Closed FSpark closed 1 year ago

FSpark commented 2 years ago

@Arlen22 When using nginx for reverse proxy, SSE does not work properly. See for details:https://serverfault.com/questions/801628/for-server-sent-events-sse-what-nginx-proxy-configuration-is-appropriate

linonetwo commented 1 year ago

@Arlen22 bump

Arlen22 commented 1 year ago

@linonetwo I'm adding this in a separate release. I've added these changes myself since there are conflicts so I'm just going to close this. This will be in version 1.0.3 so you can use 1.0.2 if you experience issues with it. Please let me know if anyone reports bugs with this. I could add it as a configuration tiddler so the headers can be customized but I'll just hope this works for now.