summaryrefslogtreecommitdiffstats
path: root/nextcloud-auth-local.inc
blob: 69cfd00963606d44122e9287b915fdc626eca170 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Apache config snippet. To be used by /etc/httpd/conf.d/*.conf files
# with Include. Allows access only from local system.

<IfModule mod_authz_core.c>
# Apache 2.4
Require local
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from ::1
</IfModule>