%PDF- %PDF-
| Direktori : /etc/nginx/conf.d/users/graphicd/graphicdesigncash.com/ |
| Current File : //etc/nginx/conf.d/users/graphicd/graphicdesigncash.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; }
# "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 ~* "^/wjmarketing/") {
set $sef_entry_point "/wjmarketing/index.php?$args";
}
if ($uri ~* "^/demos/petcare/") {
set $sef_entry_point "/demos/petcare/index.php?$args";
}
if ($uri ~* "^/demos/dentist/") {
set $sef_entry_point "/demos/dentist/index.php?$args";
}
if ($uri ~* "^/textmarketing/") {
set $sef_entry_point "/textmarketing/index.php?$args";
}
if ($uri ~* "^/demos/roofing/") {
set $sef_entry_point "/demos/roofing/index.php?$args";
}
if ($uri ~* "^/demos/childcare/") {
set $sef_entry_point "/demos/childcare/index.php?$args";
}
if ($uri ~* "^/demos/autorepair/") {
set $sef_entry_point "/demos/autorepair/index.php?$args";
}
if ($uri ~* "^/demos/coffeeshop/") {
set $sef_entry_point "/demos/coffeeshop/index.php?$args";
}
if ($uri ~* "^/demo/riverwalkpoa/") {
set $sef_entry_point "/demo/riverwalkpoa/index.php?$args";
}
if ($uri ~* "^/demos/beautysalon/") {
set $sef_entry_point "/demos/beautysalon/index.php?$args";
}
if ($uri ~* "^/demos/chiropractor/") {
set $sef_entry_point "/demos/chiropractor/index.php?$args";
}
if ($uri ~* "^/demos/agencywebsite/") {
set $sef_entry_point "/demos/agencywebsite/index.php?$args";
}
if ($uri ~* "^/demos/mortgagebroker/") {
set $sef_entry_point "/demos/mortgagebroker/index.php?$args";
}
if ($uri ~* "^/demos/windowcleaning/") {
set $sef_entry_point "/demos/windowcleaning/index.php?$args";
}
if ($uri ~* "^/demos/pizzarestaurant/") {
set $sef_entry_point "/demos/pizzarestaurant/index.php?$args";
}
if ($uri ~* "^/demos/insuranceagency/") {
set $sef_entry_point "/demos/insuranceagency/index.php?$args";
}
if ($uri ~* "^/demos/buffetrestaurant/") {
set $sef_entry_point "/demos/buffetrestaurant/index.php?$args";
}
if ($uri ~* "^/demos/generalcontractor/") {
set $sef_entry_point "/demos/generalcontractor/index.php?$args";
}
if ($uri ~* "^/demos/mexicanrestaurant/") {
set $sef_entry_point "/demos/mexicanrestaurant/index.php?$args";
}
if ($uri ~* "^/demos/generalrestaurant/") {
set $sef_entry_point "/demos/generalrestaurant/index.php?$args";
}
if ($uri ~* "^/demos/italianrestaurant/") {
set $sef_entry_point "/demos/italianrestaurant/index.php?$args";
}
if ($uri ~* "^/demos/paintingcontractor/") {
set $sef_entry_point "/demos/paintingcontractor/index.php?$args";
}
if ($uri ~* "^/demo/atimeforplaytherapy/") {
set $sef_entry_point "/demo/atimeforplaytherapy/index.php?$args";
}
if ($uri ~* "^/demos/restaurantmarketingagency/") {
set $sef_entry_point "/demos/restaurantmarketingagency/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;