From ca4aac336c128b219ab2614caebf4e17f9bce76e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 4 May 2015 16:59:17 +0000 Subject: [PATCH] Set torrent to listen on 443 and set sslonly. --- playbooks/groups/torrent.yml | 1 + roles/torrent/files/torrent-httpd.conf | 2 ++ 2 files changed, 3 insertions(+) diff --git a/playbooks/groups/torrent.yml b/playbooks/groups/torrent.yml index 69fa1a877e..d85e03e959 100644 --- a/playbooks/groups/torrent.yml +++ b/playbooks/groups/torrent.yml @@ -45,6 +45,7 @@ - role: httpd/website name: torrent.fedoraproject.org cert_name: "{{wildcard_cert_name}}" + sslonly: true tasks: - include: "{{ tasks }}/yumrepos.yml" diff --git a/roles/torrent/files/torrent-httpd.conf b/roles/torrent/files/torrent-httpd.conf index 583977cb29..55e706b974 100644 --- a/roles/torrent/files/torrent-httpd.conf +++ b/roles/torrent/files/torrent-httpd.conf @@ -1,5 +1,7 @@ DocumentRoot /srv/web/ +Listen 443 + Options Indexes FollowSymLinks Require all granted