mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-29 08:47:09 +00:00
Remove hack for /about/more as we are doing this in Pleroma now
This commit is contained in:
parent
5256c712dc
commit
8dbb4c6c50
|
@ -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