Skip to content

Commit

Permalink
whitelist add GDPR erase API path
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Nov 18, 2024
1 parent a99d1b8 commit 23e88ae
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,17 @@ http {
fastcgi_pass backend;
}

location /gdpr/erasure/confirm/ {
if ($request_method != GET) {
return 405;
}
if ($same_origin_lax_or_get != 1) {
return 403;
}
limit_req zone=flarum-limit burst=32 nodelay;
fastcgi_pass backend;
}

location /d/ {
if ($request_method != GET) {
return 405;
Expand Down

0 comments on commit 23e88ae

Please sign in to comment.