nextcloud_apache2.j2 723 B

1234567891011121314151617181920212223242526
  1. Listen 8000
  2. <VirtualHost *:8000>
  3. # Nextcloud dir
  4. DocumentRoot {{ http_webroot }}/nextcloud/
  5. <Directory {{ http_webroot }}>/nextcloud/>
  6. Options Indexes FollowSymLinks
  7. Require all granted
  8. AllowOverride All
  9. Options FollowSymLinks MultiViews
  10. <IfModule mod_dav.c>
  11. Dav off
  12. </IfModule>
  13. </Directory>
  14. # Deny access to .ht files
  15. <Files ".ht*">
  16. Require all denied
  17. </Files>
  18. # Fix zero file sizes
  19. # See https://github.com/nextcloud/server/issues/3056#issuecomment-954209565
  20. SetEnv proxy-sendcl 1
  21. # See https://httpd.apache.org/docs/current/en/mod/core.html#limitrequestbody
  22. LimitRequestBody 0
  23. </VirtualHost>