mirror of
https://github.com/Redume/Kekkai.git
synced 2025-03-13 03:54:37 +03:00
fix(nginx): delete global ratelimit
This commit is contained in:
parent
84e5d389a0
commit
ae9402e0da
1 changed files with 3 additions and 5 deletions
|
@ -1,14 +1,14 @@
|
|||
events { }
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
|
||||
limit_req_zone $binary_remote_addr zone=kekkai:10m rate=10r/s;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost; # Your domain
|
||||
|
||||
limit_req zone=kekkai;
|
||||
|
||||
return 301 https://$host$request_uri$is_args$args;
|
||||
}
|
||||
|
||||
|
@ -20,8 +20,6 @@ http {
|
|||
ssl_certificate /etc/nginx/ssl/fullchain.pem;
|
||||
ssl_certificate_key /etc/nginx/ssl/privkey.pem;
|
||||
|
||||
limit_req zone=kekkai;
|
||||
|
||||
include chart/nginx.conf;
|
||||
include server/nginx.conf;
|
||||
include web/nginx.conf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue