block alibaba

This commit is contained in:
Arya 2024-05-27 19:52:16 +05:30
parent bc09fb9101
commit 353640098e
Signed by: arya
GPG Key ID: 842D12BDA50DF120
3 changed files with 8 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@ -16,6 +16,8 @@
when: service.value.docker_settings
- name: Setup Caddy
hosts: privfrontends
vars_files:
- ./blocked-ranges.yaml
tasks:
- name: Copy Caddyfile
ansible.builtin.template:

View File

@ -76,6 +76,10 @@
}
}
}
@denied client_ip {{ blocked_ranges }}
respond @denied 403 "Unfortunately, your IP is part of a range that has been involved in mass spam to our servers. If you think our action was a mistake, please email contact@projectsegfau.lt."
import acmedns
}