0xdade/sephiroth

View on GitHub
sephiroth/templates/nginx/help.jinja

Summary

Maintainability
Test Coverage
Please add this line to /etc/nginx/nginx.conf before the Virtual Host Configs.

    include {{ abspath }};

Then you can use the $block_ip variable in your site config like so:

    if ($block_ip) {
        return 302 https://example.com;
    }