Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Current known FCC address ranges:
- # https://news.ycombinator.com/item?id=7716915
- #
- # Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft
- #
- # In your nginx.conf:
- location / {
- if ( $remote_addr ~* 192.133.125.0/24 ) {
- limit_rate 3k;
- }
- if ( $remote_addr ~* 165.135.0.0/16 ) {
- limit_rate 3k;
- }
- if ( $remote_addr ~* 192.104.54.0/24 ) {
- limit_rate 3k;
- }
- if ( $remote_addr ~* 4.21.126.0/24 ) {
- limit_rate 3k;
- }
- if ( $remote_addr ~* 65.125.25.64/26 ) {
- limit_rate 3k;
- }
- if ( $remote_addr ~* 208.23.64.0/25 ) {
- limit_rate 3k;
- }
- # put the serve files or proxy_pass code here.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement