mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-05 06:48:43 +00:00
Fixes rate limiter
This commit is contained in:
parent
1c949a5d71
commit
40ead41176
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ upstream web {
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
|
||||||
location ~ ^/(login[^-]|password-reset|resend-link|2fa-check) {
|
location ~ ^/(login[^-/]|password-reset|resend-link|2fa-check) {
|
||||||
limit_req zone=loginlimit;
|
limit_req zone=loginlimit;
|
||||||
|
|
||||||
proxy_pass http://web;
|
proxy_pass http://web;
|
||||||
|
|
|
@ -41,7 +41,7 @@ server {
|
||||||
# root /var/www/certbot;
|
# root /var/www/certbot;
|
||||||
# }
|
# }
|
||||||
#
|
#
|
||||||
# location ~ ^/(login[^-]|password-reset|resend-link|2fa-check) {
|
# location ~ ^/(login[^-/]|password-reset|resend-link|2fa-check) {
|
||||||
# limit_req zone=loginlimit;
|
# limit_req zone=loginlimit;
|
||||||
#
|
#
|
||||||
# proxy_pass http://web;
|
# proxy_pass http://web;
|
||||||
|
|
Loading…
Reference in a new issue