File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
root-files/opt/flownative/lib Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ RUN install_packages \
2727 libnginx-mod-http-headers-more-filter \
2828 ca-certificates \
2929 procps \
30- netcat vim less curl locales locales-all \
3130 && rm /etc/nginx/sites-available/default \
3231 && rm /etc/nginx/sites-enabled/default
3332
Original file line number Diff line number Diff line change 194194 add_header Via 'Beach Asset Proxy';
195195 ${addHeaderStrictTransportSecurity}
196196 proxy_pass https://storage.googleapis.com/${BEACH_GOOGLE_CLOUD_STORAGE_PUBLIC_BUCKET} /\$ 1\$ is_args\$ args;
197-
198- # See: https://github.com/openresty/headers-more-nginx-module#more_set_headers
199- # and https://nginx-extras.getpagespeed.com/modules/headers-more/#more_set_headers
200- more_set_headers -s '200 203 206 304' 'Cache-Control: max-age=15552000';
201- more_set_headers 'X-Test-Cache-Control: max-age=15552000';
202- more_clear_headers 'x-goog-storage-class';
197+ expires ${NGINX_STATIC_FILES_LIFETIME} ;
203198 }
204199EOM
205200 elif [ -n " ${BEACH_PERSISTENT_RESOURCES_FALLBACK_BASE_URI} " ]; then
You can’t perform that action at this time.
0 commit comments