diff --git a/wo/cli/templates/locations.mustache b/wo/cli/templates/locations.mustache index 2edaaba..5c2deba 100644 --- a/wo/cli/templates/locations.mustache +++ b/wo/cli/templates/locations.mustache @@ -41,7 +41,7 @@ location /.well-known/acme-challenge/ { # https://developer.chrome.com/blog/private-prefetch-proxy/ location /.well-known/traffic-advice { types { } default_type "application/trafficadvice+json; charset=utf-8"; - alias /var/www/html/.well-known/traffic-advice; + return 200 "[\{\n \"user_agent\": \"prefetch-proxy\",\n \"google_prefetch_proxy_eap\": \{\n \"fraction\": 1.0\n \}\n\}]"; allow all; } # Return 403 forbidden for readme.(txt|html) or license.(txt|html) or example.(txt|html) or other common git repository files