Skip to content

Commit 33ad097

Browse files
committed
Remove robots.txt rewrite from sites
1 parent c511e52 commit 33ad097

6 files changed

+0
-18
lines changed

sites-available/fastcgi-cache.com

-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ server {
5050
fastcgi_cache_valid 60m;
5151
}
5252

53-
# Rewrite robots.txt
54-
rewrite ^/robots.txt$ /index.php last;
55-
5653
# Uncomment if using the fastcgi_cache_purge module and Nginx Helper plugin (https://wordpress.org/plugins/nginx-helper/)
5754
# location ~ /purge(/.*) {
5855
# fastcgi_cache_purge fastcgi-cache.com "$scheme$request_method$host$1";

sites-available/multisite-subdirectory.com

-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ server {
3434
# See global/php-pool.conf for definition.
3535
fastcgi_pass $upstream;
3636
}
37-
38-
# Rewrite robots.txt
39-
rewrite ^/robots.txt$ /index.php last;
4037
}
4138

4239
# Redirect www to non-www

sites-available/multisite-subdomain.com

-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ server {
3131
# See global/php-pool.conf for definition.
3232
fastcgi_pass $upstream;
3333
}
34-
35-
# Rewrite robots.txt
36-
rewrite ^/robots.txt$ /index.php last;
3734
}
3835

3936
# Redirect www to non-www

sites-available/singlesite.com

-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ server {
3131
# See global/php-pool.conf for definition.
3232
fastcgi_pass $upstream;
3333
}
34-
35-
# Rewrite robots.txt
36-
rewrite ^/robots.txt$ /index.php last;
3734
}
3835

3936
# Redirect www to non-www

sites-available/ssl-fastcgi-cache.com

-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ server {
5757
fastcgi_cache_valid 60m;
5858
}
5959

60-
# Rewrite robots.txt
61-
rewrite ^/robots.txt$ /index.php last;
62-
6360
# Uncomment if using the fastcgi_cache_purge module and Nginx Helper plugin (https://wordpress.org/plugins/nginx-helper/)
6461
# location ~ /purge(/.*) {
6562
# fastcgi_cache_purge ssl-fastcgi-cache.com "$scheme$request_method$host$1";

sites-available/ssl.com

-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ server {
3838
# See global/php-pool.conf for definition.
3939
fastcgi_pass $upstream;
4040
}
41-
42-
# Rewrite robots.txt
43-
rewrite ^/robots.txt$ /index.php last;
4441
}
4542

4643
# Redirect http to https

0 commit comments

Comments
 (0)