Skip to content

Commit

Permalink
Bake well-known into base image
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobSanford committed Aug 1, 2023
1 parent 8951998 commit 15b1bdf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN apk --no-cache add nginx && \
$RSYNC_COPY /build/conf/nginx/app.conf "$NGINX_APP_CONF_FILE" && \
$RSYNC_COPY /build/conf/nginx/daemon "$NGINX_CONFD_DIR/" && \
$RSYNC_COPY /build/conf/nginx/server "$NGINX_CONFD_DIR/" && \
$RSYNC_COPY /build/data/.well-known "$APP_WEBROOT/" && \
$RSYNC_COPY /build/scripts/ /scripts/ && \
chmod -R 755 /scripts

Expand Down
5 changes: 5 additions & 0 deletions build/conf/nginx/server/google-prefetch-config.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Private Prefetch Proxy
# https://developer.chrome.com/blog/private-prefetch-proxy/
location /.well-known/traffic-advice {
types { } default_type "application/trafficadvice+json; charset=utf-8";
}
2 changes: 0 additions & 2 deletions build/scripts/pre-init.d/11_populate_well_known.sh

This file was deleted.

0 comments on commit 15b1bdf

Please sign in to comment.