HEX
Server: Apache
System: Linux 65-254-81-60.cprapid.com 4.18.0-477.27.2.el8_8.x86_64 #1 SMP Fri Sep 29 08:21:01 EDT 2023 x86_64
User: roshanchandy (1003)
PHP: 8.4.12
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //etc/nginx/conf.d/users/cryptokademy/cryptokademy.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 wp-config.php"
    # To remove this rule, revert this security measure on each WordPress installation on this domain
    location ~* wp-config.php { deny all; }

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

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

                                                                        # "Disable PHP execution in cache directories"
    # To remove this rule, revert this security measure on each WordPress installation on this domain
    location ~* ".*/cache/.*\.ph(?:p[345]?|t|tml)" {
        access_log off;
        log_not_found off;
        deny all;
    }

    # "Block access to sensitive files"
    # To remove this rule, revert this security measure on each WordPress installation on this domain
    location ~* "(?:wp-config\.bak|\.wp-config\.php\.swp|(?:readme|license|changelog|-config|-sample)\.(?:php|md|txt|htm|html))" {
        return 403;
    }

    # 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";
        }
            if ($uri ~* "^/vedav/") {
            set $sef_entry_point "/vedav/index.php?$args";
        }
            if ($uri ~* "^/RoyalQR/") {
            set $sef_entry_point "/RoyalQR/index.php?$args";
        }
            if ($uri ~* "^/royalqss/") {
            set $sef_entry_point "/royalqss/index.php?$args";
        }
            if ($uri ~* "^/algogrow\.com/") {
            set $sef_entry_point "/algogrow.com/index.php?$args";
        }
            if ($uri ~* "^/teamcoach\.org\.in/") {
            set $sef_entry_point "/teamcoach.org.in/index.php?$args";
        }
            if ($uri ~* "^/susanmchandy\.com/") {
            set $sef_entry_point "/susanmchandy.com/index.php?$args";
        }
            if ($uri ~* "^/algogrow\.com/taalgo/") {
            set $sef_entry_point "/algogrow.com/taalgo/index.php?$args";
        }
            if ($uri ~* "^/vedavserenelife\.com/") {
            set $sef_entry_point "/vedavserenelife.com/index.php?$args";
        }
            if ($uri ~* "^/algogrow\.com/old algogrow/") {
            set $sef_entry_point "/algogrow.com/old algogrow/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;