Remove hack for /about/more as we are doing this in Pleroma now
This commit is contained in:
parent
5256c712dc
commit
8dbb4c6c50
1 changed files with 0 additions and 6 deletions
|
@ -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)/") ||
|
||||||
|
|
Loading…
Reference in a new issue