ServerName {{ ansible_fqdn }}
ServerAdmin admin@{{ ansible_fqdn }}
DocumentRoot {{ http_webroot }}/nextcloud
Options Indexes FollowSymLinks
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
Dav off
# Deny access to .ht files
Require all denied
# Fix zero file sizes
# See https://github.com/nextcloud/server/issues/3056#issuecomment-954209565
SetEnv proxy-sendcl 1
# See https://httpd.apache.org/docs/current/en/mod/core.html#limitrequestbody
LimitRequestBody 0