summaryrefslogtreecommitdiff
path: root/arch-mirror.home.eckner.net.conf
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-09-24 14:33:56 +0200
committerErich Eckner <git@eckner.net>2020-09-24 14:33:56 +0200
commitad52cc3a18409e285c144c34a761efca64790c92 (patch)
tree503b52176353f68423c3b638958f3982e22f37aa /arch-mirror.home.eckner.net.conf
parent0a070707eb9546373be3687f66a3aca709965276 (diff)
downloadarch-mirror-ad52cc3a18409e285c144c34a761efca64790c92.tar.xz
add cache server entry, too
Diffstat (limited to 'arch-mirror.home.eckner.net.conf')
-rw-r--r--arch-mirror.home.eckner.net.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch-mirror.home.eckner.net.conf b/arch-mirror.home.eckner.net.conf
index 10de761..256afb1 100644
--- a/arch-mirror.home.eckner.net.conf
+++ b/arch-mirror.home.eckner.net.conf
@@ -1,7 +1,15 @@
resolver 192.168.0.18 192.168.0.13;
server {
+ listen [::]:80;
+ listen 80;
+ server_name 1.arch-mirror.home.eckner.net;
+ root /srv/http/arch-mirror;
+ autoindex on;
+}
+
+server {
listen [::]:80;
listen 80;
listen [::]:443 ssl; # managed by Certbot