devforth / spa-to-http

Lightweight zero-configuration SPA HTTP server. Serves SPA bundle on HTTP port so it plays well with Traefik out of the box. Compatible with Vue.js, React and Angular
MIT License
110 stars 8 forks source link

CACHE_CONTROL_MAX_AGE=-1 don't work #13

Open remotejob opened 5 months ago

remotejob commented 5 months ago

I need unset cache-control: max-age=604800 In docker image but it doesn't work

FROM devforth/spa-to-http:latest ENV CACHE_CONTROL_MAX_AGE=-1 ENV CACHE=false ENV LOGGER=true ENV LOG_PRETTY=true COPY --from=builder /code/dist/ .