summaryrefslogtreecommitdiffstats
path: root/network/phppgadmin/http-pgadmin.conf
diff options
context:
space:
mode:
Diffstat (limited to 'network/phppgadmin/http-pgadmin.conf')
-rw-r--r--network/phppgadmin/http-pgadmin.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/network/phppgadmin/http-pgadmin.conf b/network/phppgadmin/http-pgadmin.conf
new file mode 100644
index 0000000000..1bd0381933
--- /dev/null
+++ b/network/phppgadmin/http-pgadmin.conf
@@ -0,0 +1,17 @@
+Alias /phppgadmin /usr/share/phppgadmin/
+
+<Directory /usr/share/phppgadmin>
+# SSLRequireSSL
+ Options FollowSymlinks
+ AllowOverride None
+ DirectoryIndex index.php
+ Require ip 127.0.0.1
+</Directory>
+
+<Directory /usr/share/phppgadmin/conf>
+ Require all denied
+</Directory>
+
+<Directory /usr/share/phppgadmin/libraries>
+ Require all denied
+</Directory>