mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
💄 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:
parent
23b315c58f
commit
46e0151c28
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue