1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

Unblock Nextcloud in 192.168.1.* schools & all others!

This commit is contained in:
A Holt 2019-09-04 12:29:33 -04:00 committed by GitHub
parent 0205723563
commit 9d50fd98c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,12 @@ Alias {{ nextcloud_url }} {{ nextcloud_prefix }}/nextcloud
<IfModule mod_authz_core.c>
# Apache 2.4
Require host localhost
Require ip 127.0.0.1 {{ lan_ip }}/{{ lan_netmask }} {{ nextcloud_required_ip }} {{ openvpn_server_virtual_ip }}/255.255.255.0
# PERMIT ACCESS FROM ALL IPv4 ADDRESSES:
Require all granted
# USE THIS LINE INSTEAD, IF YOU WANT BASIC SECURITY BASED ON IPv4 ADDRESSES:
#Require ip 127.0.0.1 172.18.96.1/255.255.224.0 192.168 10
# DON'T USE THIS LINE WHICH CAUSES PROBLEMS IN SCHOOLS WITH 192.168.1.x etc:
#Require ip 127.0.0.1 {{ lan_ip }}/{{ lan_netmask }} {{ nextcloud_required_ip }} {{ openvpn_server_virtual_ip }}/255.255.255.0
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2