Skip to content

Commit

Permalink
Merge pull request #4 from i3thuan5/sih4sing5hong5-patch-1
Browse files Browse the repository at this point in the history
用http_x_forwarded_for才tio̍h
a8568730 authored Jan 2, 2025
2 parents 0f7e32c + c038e18 commit 2087729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hokbu-nginx/default.conf
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ upstream backend {
server hapsing:5000;
}

limit_req_zone $binary_remote_addr zone=ip:10m rate=3r/m;
limit_req_zone $http_x_forwarded_for zone=ip:10m rate=3r/m;

server {
listen 80;

0 comments on commit 2087729

Please sign in to comment.