diff --git a/bin/homepage b/bin/homepage --- a/bin/homepage +++ b/bin/homepage @@ -19,6 +19,8 @@ events { http { include $ROOT/light9/web/mime.types; + proxy_buffering off; + server { access_log off; autoindex on; diff --git a/light9/homepage/write_config.py b/light9/homepage/write_config.py --- a/light9/homepage/write_config.py +++ b/light9/homepage/write_config.py @@ -39,9 +39,6 @@ def main(): proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; - - proxy_buffering off; - }} location /{path}/ {{ # vite has 'base' to deal with the /{path}/ part of the request