💄 Start use nginx (without cache) to serve frontend dev files.

Usefull for checking production builds and not depend on the shadow-cljs
watch http-dev server running.
This commit is contained in:
Andrey Antukh
2021-06-17 08:00:08 +02:00
committed by Andrés Moya
parent 23b315c58f
commit 46e0151c28

View File

@@ -128,8 +128,10 @@ http {
}
location / {
add_header Cache-Control "no-cache, max-age=0";
proxy_pass http://127.0.0.1:8888;
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
if_modified_since off;
expires off;
}
}
}