diff --git a/customers/base/nextcloud-configmap.yml b/customers/base/nextcloud-configmap.yml
index 1f6c182..9edefd6 100644
--- a/customers/base/nextcloud-configmap.yml
+++ b/customers/base/nextcloud-configmap.yml
@@ -4,6 +4,76 @@ metadata:
name: nextcloud-configmap
data:
000-default.conf: |
+ LoadModule remoteip_module /usr/lib/apache2/modules/mod_remoteip.so
+ LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so
+
+ 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.14
+ RemoteIPInternalProxy 37.156.195.19
+ RemoteIPInternalProxy 37.156.195.84
+ RemoteIPInternalProxy 37.156.195.92
+ #ErrorDocument 404 /404.html
+ ErrorLog ${APACHE_LOG_DIR}/error.log
+ CustomLog ${APACHE_LOG_DIR}/access.log combined env=forwarded
+
+ ErrorLog ${APACHE_LOG_DIR}/error.log
+ CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+ LimitRequestBody 0
+ Require all granted
+ AllowOverride All
+ Options FollowSymLinks MultiViews
+
+
+ Dav off
+
+
+
+
+
+
+ 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.14
+ RemoteIPInternalProxy 37.156.195.19
+ RemoteIPInternalProxy 37.156.195.84
+ RemoteIPInternalProxy 37.156.195.92
+ #ErrorDocument 404 /404.html
+ ErrorLog ${APACHE_LOG_DIR}/error.log
+ CustomLog ${APACHE_LOG_DIR}/access.log combined env=forwarded
+ SSLEngine On
+ SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
+ SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
+
+ LimitRequestBody 0
+ Require all granted
+ AllowOverride All
+ Options FollowSymLinks MultiViews
+
+
+ Dav off
+
+
+
+ # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
+
+
+
+
+
LoadModule remoteip_module /usr/lib/apache2/modules/mod_remoteip.so
ServerAdmin webmaster@localhost