add caching for site

This commit is contained in:
Umputun 2022-08-09 17:22:23 -05:00
parent a84bbc3603
commit dff390414d

View File

@ -14,4 +14,4 @@ FROM ghcr.io/umputun/reproxy
COPY --from=build /build/site /srv/site
EXPOSE 8080
USER app
ENTRYPOINT ["/srv/reproxy", "--assets.location=/srv/site"]
ENTRYPOINT ["/srv/reproxy", "--assets.location=/srv/site", "--assets.cache=30d,text/html:30s"]