Compare commits

..

2 commits

View file

@ -36,8 +36,6 @@ data:
</IfModule> </IfModule>
</Directory> </Directory>
</VirtualHost> </VirtualHost>
<VirtualHost *:443> <VirtualHost *:443>
ServerAdmin webmaster@localhost ServerAdmin webmaster@localhost
DocumentRoot /var/www/html DocumentRoot /var/www/html
@ -69,36 +67,6 @@ data:
</Directory> </Directory>
</VirtualHost> </VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
LoadModule remoteip_module /usr/lib/apache2/modules/mod_remoteip.so
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
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
<Directory /var/www/html/>
LimitRequestBody 0
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
</Directory>
</VirtualHost>
config.php: | config.php: |
<?php <?php
$CONFIG = array ( $CONFIG = array (