changeset 2249:e9dc435cc946

no proxy_buffering even on vitejs resource pages, since our working dir is non-writable
author drewp@bigasterisk.com
date Sat, 27 May 2023 15:44:16 -0700
parents 75dfd7eb1e77
children 3e68a4d1df0b
files bin/homepage light9/homepage/write_config.py
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/bin/homepage	Sat May 27 02:05:27 2023 -0700
+++ b/bin/homepage	Sat May 27 15:44:16 2023 -0700
@@ -19,6 +19,8 @@
 http {
  include $ROOT/light9/web/mime.types;
  
+ proxy_buffering off;
+
  server {
   access_log off;
   autoindex on;
--- a/light9/homepage/write_config.py	Sat May 27 02:05:27 2023 -0700
+++ b/light9/homepage/write_config.py	Sat May 27 15:44:16 2023 -0700
@@ -39,9 +39,6 @@
           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