Merge pull request #3739 from fti7/master
Serve robots.txt if the RewriteBase is configured
This commit is contained in:
commit
801b600ec3
1 changed files with 1 additions and 0 deletions
|
@ -451,6 +451,7 @@ class Setup {
|
|||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/status.php";
|
||||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocs/v1.php";
|
||||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocs/v2.php";
|
||||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/robots.txt";
|
||||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/updater/";
|
||||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocs-provider/";
|
||||
$content .= "\n RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*";
|
||||
|
|
Loading…
Reference in a new issue