Remove robots.txt rewrite from sites
This commit is contained in:
parent
c511e5272d
commit
33ad09793e
@ -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";
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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";
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user