Apache ProxyPass and Cache-Control

website.conf
1
2
3
4
5
6
7
8
9
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule headers_module modules/mod_headers.so
ProxyRequests off
<LocationMatch "/s3/">
ProxyPass http://s3.amazonaws.com/your_bucket/
Header set Cache-Control "max-age=290304000, public"
</LocationMatch>