diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-05-18 17:18:45 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-05-18 17:18:45 -0400 |
| commit | 2a86216b3737870ef558f3da97fb0b38d5601872 (patch) | |
| tree | 6b1a72baab314d20bbeb7514b2a6135ecf64b617 /nginx | |
| parent | ef81f23937fae782f568d04356d91fe401d2f4e8 (diff) | |
simplify redirect for broken 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 ebd0ab8d..717a4691 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -148,7 +148,7 @@ http { # https://www.twipu.com/GrapheneOS doesn't handle links with fragments properly if ($request_uri ~ "^/(.*)%3Ca%20href=$") { - return 301 https://grapheneos.org/$1; + return 301 /$1; } location = /security.txt { |
