Remove hack for /about/more as we are doing this in Pleroma now

This commit is contained in:
Mark Felder 2018-04-19 18:58:13 +00:00
parent 5256c712dc
commit 8dbb4c6c50

View file

@ -39,12 +39,6 @@ sub vcl_recv {
return (hash); return (hash);
} }
# Hack to enable a Terms of Service page missing from Pleroma
if (req.url ~ "^/about/more$") {
set req.http.x-redir = "https://" + req.http.host + "/static/terms-of-service.html";
return (synth(750, ""));
}
# Strip headers that will affect caching from all other static content # Strip headers that will affect caching from all other static content
# This also permits caching of individual toots and AP Activities # This also permits caching of individual toots and AP Activities
if ((req.url ~ "^/(media|notice|static)/") || if ((req.url ~ "^/(media|notice|static)/") ||