diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-02-23 22:31:42 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-02-23 22:32:03 -0500 |
| commit | 0ebc07023122c85427daa85d973966b9cc283b94 (patch) | |
| tree | b54e6f893a528e72598abfec522dfcca488be819 /nginx | |
| parent | aa69d6c943997a6a5dcff94922df05164d40e64e (diff) | |
fix redirect of mangled backlinks
Diffstat (limited to 'nginx')
| -rw-r--r-- | nginx/nginx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index ddfcfc84..d0a54e1a 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -130,7 +130,7 @@ http { } # https://www.twipu.com/GrapheneOS doesn't handle links with fragments properly - if ($request_uri ~ "^/(.*)<a href=$") { + if ($request_uri ~ "^/(.*)%3Ca%20href=$") { return 301 https://grapheneos.org/$1; } |
