diff --git a/customers/base/nextcloud-configmap.yml b/customers/base/nextcloud-configmap.yml index e148c64..fde72f9 100644 --- a/customers/base/nextcloud-configmap.yml +++ b/customers/base/nextcloud-configmap.yml @@ -3,6 +3,36 @@ kind: ConfigMap metadata: name: nextcloud-configmap data: + 000-default.conf: | + Listen 8080 + + ServerAdmin webmaster@localhost + DocumentRoot /var/www/html + # Log format config + LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" common + SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded + + # Header config + RemoteIPHeader X-Forwarded-For + RemoteIPInternalProxy 37.156.195.11 + RemoteIPInternalProxy 37.156.195.12 + RemoteIPInternalProxy 37.156.195.21 + RemoteIPInternalProxy 37.156.195.22 + # TODO: Package 404 for k8s + # ErrorDocument 404 /404.html + ErrorLog /dev/stderr + TransferLog /dev/stdout + + LimitRequestBody 0 + Require all granted + AllowOverride All + Options FollowSymLinks MultiViews + + + Dav off + + + config.php: |