Remove robots.txt rewrite from sites

This commit is contained in:
Ashley Rich 2020-04-25 10:26:51 +01:00
parent c511e5272d
commit 33ad09793e
6 changed files with 0 additions and 18 deletions

View File

@ -50,9 +50,6 @@ server {
fastcgi_cache_valid 60m;
}
# Rewrite robots.txt
rewrite ^/robots.txt$ /index.php last;
# Uncomment if using the fastcgi_cache_purge module and Nginx Helper plugin (https://wordpress.org/plugins/nginx-helper/)
# location ~ /purge(/.*) {
# fastcgi_cache_purge fastcgi-cache.com "$scheme$request_method$host$1";

View File

@ -34,9 +34,6 @@ server {
# See global/php-pool.conf for definition.
fastcgi_pass $upstream;
}
# Rewrite robots.txt
rewrite ^/robots.txt$ /index.php last;
}
# Redirect www to non-www

View File

@ -31,9 +31,6 @@ server {
# See global/php-pool.conf for definition.
fastcgi_pass $upstream;
}
# Rewrite robots.txt
rewrite ^/robots.txt$ /index.php last;
}
# Redirect www to non-www

View File

@ -31,9 +31,6 @@ server {
# See global/php-pool.conf for definition.
fastcgi_pass $upstream;
}
# Rewrite robots.txt
rewrite ^/robots.txt$ /index.php last;
}
# Redirect www to non-www

View File

@ -57,9 +57,6 @@ server {
fastcgi_cache_valid 60m;
}
# Rewrite robots.txt
rewrite ^/robots.txt$ /index.php last;
# Uncomment if using the fastcgi_cache_purge module and Nginx Helper plugin (https://wordpress.org/plugins/nginx-helper/)
# location ~ /purge(/.*) {
# fastcgi_cache_purge ssl-fastcgi-cache.com "$scheme$request_method$host$1";

View File

@ -38,9 +38,6 @@ server {
# See global/php-pool.conf for definition.
fastcgi_pass $upstream;
}
# Rewrite robots.txt
rewrite ^/robots.txt$ /index.php last;
}
# Redirect http to https