Verified Commit 016d1860 authored by Florian Pritz's avatar Florian Pritz
Browse files

dbscripts: Support rsync.archlinux.org via HTTPS



This also adds location / {} blocks to make the letsencrypt include
work.

Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent 4eaf2d85
......@@ -12,6 +12,7 @@ server {
allow all;
}
location / {
# Server at velocitynet
allow 66.211.214.130; # dom0.archlinux.org.
allow 66.211.214.131; # gudrun.archlinux.org.
......@@ -41,12 +42,13 @@ server {
auth_basic_user_file auth/dbscripts.htpasswd;
autoindex on;
}
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name {{ repos_domain }};
server_name {{ repos_domain }} {{repos_rsync_domain}};
root /srv/ftp;
{% if certfile.stat.exists %}
......@@ -61,6 +63,7 @@ server {
allow all;
}
location / {
# Server at velocitynet
allow 66.211.214.130; # dom0.archlinux.org.
allow 66.211.214.131; # gudrun.archlinux.org.
......@@ -90,4 +93,5 @@ server {
auth_basic_user_file auth/dbscripts.htpasswd;
autoindex on;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment