mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Unblock Nextcloud in 192.168.1.* schools & all others!
This commit is contained in:
parent
0205723563
commit
9d50fd98c2
1 changed files with 6 additions and 1 deletions
|
@ -7,7 +7,12 @@ Alias {{ nextcloud_url }} {{ nextcloud_prefix }}/nextcloud
|
||||||
<IfModule mod_authz_core.c>
|
<IfModule mod_authz_core.c>
|
||||||
# Apache 2.4
|
# Apache 2.4
|
||||||
Require host localhost
|
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>
|
||||||
<IfModule !mod_authz_core.c>
|
<IfModule !mod_authz_core.c>
|
||||||
# Apache 2.2
|
# Apache 2.2
|
||||||
|
|
Loading…
Reference in a new issue