fix
This commit is contained in:
@@ -183,9 +183,9 @@ resource "kubectl_manifest" "wordpress_files" {
|
||||
#log_not_found off;
|
||||
}
|
||||
# Deny access to load load-scripts.php, load-styles.php; can be used for DOS attacks;
|
||||
location ~ \/wp-admin\/load\-(scripts|styles)\.php {
|
||||
deny all;
|
||||
}
|
||||
#location ~ \/wp-admin\/load\-(scripts|styles)\.php {
|
||||
# deny all;
|
||||
#}
|
||||
# START Nginx Rewrites for Rank Math Sitemaps
|
||||
rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last;
|
||||
rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
|
||||
|
||||
Reference in New Issue
Block a user