all repos — shwarp.ca @ 6e75dac12df121b73adb67e7a6869056b0257934

Homepage repo

chore(nginx): add longer timeout for proxy connection

The default being 66, this makes local development easier---not having
to punch save every minute to keep from losing the live-reload
functionality.

Got it form this SO answer: https://stackoverflow.com/a/49408570
shwarp
Wed, 21 Oct 2026 20:18:12 -0400
commit

6e75dac12df121b73adb67e7a6869056b0257934

parent

fe68e8aa678f2eed36706ff6aa819087892e679e

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M config/shwarp.ca.local → config/shwarp.ca.local

@@ -12,6 +12,9 @@ proxy_pass http://127.0.0.1:3232;

proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; + + # Keep websocket alive for live-server reloading + proxy_read_timeout 666; } }