Nginx Rules: api.justyy.com Back to Normal (2026-01-10)

in #steem5 days ago

I've added some rules in Nginx to stop these crazy requests coming from steemscan.

image.png

Nginx rules

http {
        map $http_origin $block_steemscan_origin {
                default 0;
                        "~^https?://(www\.)?steemscan\.com" 1;
        }

        map $http_referer $block_steemscan_ref {
                    default 0;
                        "~^https?://(www\.)?steemscan\.com" 1;
        }
}

server {

        if ($block_steemscan_origin) {
                return     500;
        }

        if ($block_steemscan_ref) {
                return 404;
        }
}

image.png

Steem to the Moon🚀!

Support me, thank you!

Why you should vote me? My contributions
Please vote me as a witness or set me as a proxy via https://steemitwallet.com/~witnesses

image.png