Skip to content

Commit 208a928

Browse files
committed
Remove debug code
1 parent 17e6081 commit 208a928

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

root-files/opt/flownative/lib/nginx-legacy.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,7 @@ EOM
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
}
204199
EOM
205200
elif [ -n "${BEACH_PERSISTENT_RESOURCES_FALLBACK_BASE_URI}" ]; then

0 commit comments

Comments
 (0)