.htaccess: web server is not properly set up to resolve "/ocs-provider/"

In the admin view, I’m seeing the following warning:
“Your web server is not properly set up to resolve “/ocs-provider/”” I have replaced my .htaccess file with the one from Github:

However, after updating to 31.0.6 my .htaccess is back to including this line:

RewriteCond %{REQUEST_FILENAME} !/(ocs-provider|updater)/

And of course the warning in the admin view is back as well. What’s going on here?

Configuration
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.6.2",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "mysql.utf8mb4": true,
        "installed": true,
        "forcessl": true,
        "theme": "",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***"
        ],
        "secret": "***REMOVED SENSITIVE VALUE***",
        "share_folder": "\/Shared",
        "mail_smtpmode": "smtp",
        "forceSSLforSubdomains": true,
        "trashbin_retention_obligation": "auto, 31",
        "versions_retention_obligation": "auto",
        "remember_login_cookie_lifetime": 31536000,
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "log_type": "file",
        "loglevel": 1,
        "log_rotate_size": 52428800,
        "logfile": "\/home\/tomtjes1\/public_html\/nextcloud.log",
        "maintenance": false,
        "maintenance_window_start": 4,
        "singleuser": false,
        "filesystem_check_changes": 1,
        "overwrite.cli.url": "https:\/\/wolke.***REMOVED SENSITIVE VALUE***",
        "updatechecker": true,
        "htaccess.RewriteBase": "\/",
        "appstore.experimental.enabled": true,
        "files_external_allow_create_new_local": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "filelocking.enabled": true,
        "default_language": "en_US",
        "default_phone_region": "DE",
        "mail_sendmailmode": "smtp",
        "mail_smtpauth": 1,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "app_install_overwrite": [
            "passman"
        ],
        "updater.release.channel": "stable",
        "debug": false
    }
}

And of course the warning in the admin view is back as well. What’s going on here?

The .htaccess is being modified based on your current configuration.

Is your Nextcloud accessed as https://domain.tld/ or as https://domain.tld/nextcloud?

And your Nextcloud URLs typically include index.php in them or not?

My Nextcloud is accessed via multiple subdomains: https://sub.domain1.xyz/, https://sub.domain2.xyz/. No index.php in URLs.