Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlemke committed May 5, 2022
1 parent 17e6081 commit 208a928
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ RUN install_packages \
libnginx-mod-http-headers-more-filter \
ca-certificates \
procps \
netcat vim less curl locales locales-all \
&& rm /etc/nginx/sites-available/default \
&& rm /etc/nginx/sites-enabled/default

Expand Down
7 changes: 1 addition & 6 deletions root-files/opt/flownative/lib/nginx-legacy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,7 @@ EOM
add_header Via 'Beach Asset Proxy';
${addHeaderStrictTransportSecurity}
proxy_pass https://storage.googleapis.com/${BEACH_GOOGLE_CLOUD_STORAGE_PUBLIC_BUCKET}/\$1\$is_args\$args;
# See: https://github.com/openresty/headers-more-nginx-module#more_set_headers
# and https://nginx-extras.getpagespeed.com/modules/headers-more/#more_set_headers
more_set_headers -s '200 203 206 304' 'Cache-Control: max-age=15552000';
more_set_headers 'X-Test-Cache-Control: max-age=15552000';
more_clear_headers 'x-goog-storage-class';
expires ${NGINX_STATIC_FILES_LIFETIME};
}
EOM
elif [ -n "${BEACH_PERSISTENT_RESOURCES_FALLBACK_BASE_URI}" ]; then
Expand Down

0 comments on commit 208a928

Please sign in to comment.